Class PrivateKeyFactoryBean

    • Field Detail

      • resource

        private Resource resource
        Private key resource.
      • keyPass

        private String keyPass
        Password for the private key.
      • key

        private PrivateKey key
        The singleton instance of the private key produced by this factory.
    • Constructor Detail

      • PrivateKeyFactoryBean

        public PrivateKeyFactoryBean()
    • Method Detail

      • setResource

        public void setResource​(@Nonnull
                                Resource res)
        Sets the resource containing the private key.
        Parameters:
        res - private key resource, never null
      • setPrivateKeyPassword

        public void setPrivateKeyPassword​(@Nullable
                                          String password)
        Sets the password for the private key.
        Parameters:
        password - password for the private key, may be null if the key is not encrypted