Class SimpleKeyManagerFactory

  • Direct Known Subclasses:
    KeyManagerFactoryWrapper

    public abstract class SimpleKeyManagerFactory
    extends javax.net.ssl.KeyManagerFactory
    Helps to implement a custom KeyManagerFactory.
    • Constructor Detail

      • SimpleKeyManagerFactory

        protected SimpleKeyManagerFactory()
        Creates a new instance.
      • SimpleKeyManagerFactory

        protected SimpleKeyManagerFactory​(java.lang.String name)
        Creates a new instance.
        Parameters:
        name - the name of this KeyManagerFactory
    • Method Detail

      • engineInit

        protected abstract void engineInit​(java.security.KeyStore keyStore,
                                           char[] var2)
                                    throws java.lang.Exception
        Initializes this factory with a source of certificate authorities and related key material.
        Throws:
        java.lang.Exception
        See Also:
        KeyManagerFactorySpi.engineInit(KeyStore, char[])
      • engineInit

        protected abstract void engineInit​(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters)
                                    throws java.lang.Exception
        Initializes this factory with a source of provider-specific key material.
        Throws:
        java.lang.Exception
        See Also:
        KeyManagerFactorySpi.engineInit(ManagerFactoryParameters)
      • engineGetKeyManagers

        protected abstract javax.net.ssl.KeyManager[] engineGetKeyManagers()
        Returns one key manager for each type of key material.
        See Also:
        KeyManagerFactorySpi.engineGetKeyManagers()