Class SimpleKeyManagerFactory

java.lang.Object
javax.net.ssl.KeyManagerFactory
io.netty.handler.ssl.util.SimpleKeyManagerFactory
Direct Known Subclasses:
KeyManagerFactoryWrapper

public abstract class SimpleKeyManagerFactory extends javax.net.ssl.KeyManagerFactory
Helps to implement a custom KeyManagerFactory.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final java.security.Provider
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a new instance.
    protected
    SimpleKeyManagerFactory(java.lang.String name)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract javax.net.ssl.KeyManager[]
    Returns one key manager for each type of key material.
    protected abstract void
    engineInit(java.security.KeyStore keyStore, char[] var2)
    Initializes this factory with a source of certificate authorities and related key material.
    protected abstract void
    engineInit(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters)
    Initializes this factory with a source of provider-specific key material.

    Methods inherited from class javax.net.ssl.KeyManagerFactory

    getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getKeyManagers, getProvider, init, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • 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 Details

    • 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()