- java.lang.Object
-
- javax.net.ssl.KeyManagerFactory
-
- io.netty5.handler.ssl.util.SimpleKeyManagerFactory
-
- Direct Known Subclasses:
KeyManagerFactoryWrapper
public abstract class SimpleKeyManagerFactory extends KeyManagerFactory
Helps to implement a customKeyManagerFactory
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleKeyManagerFactory()
Creates a new instance.protected
SimpleKeyManagerFactory(String name)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract KeyManager[]
engineGetKeyManagers()
Returns one key manager for each type of key material.protected abstract void
engineInit(KeyStore keyStore, char[] var2)
Initializes this factory with a source of certificate authorities and related key material.protected abstract void
engineInit(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
-
-
-
-
Constructor Detail
-
SimpleKeyManagerFactory
protected SimpleKeyManagerFactory()
Creates a new instance.
-
SimpleKeyManagerFactory
protected SimpleKeyManagerFactory(String name)
Creates a new instance.- Parameters:
name
- the name of thisKeyManagerFactory
-
-
Method Detail
-
engineInit
protected abstract void engineInit(KeyStore keyStore, char[] var2) throws Exception
Initializes this factory with a source of certificate authorities and related key material.- Throws:
Exception
- See Also:
KeyManagerFactorySpi.engineInit(KeyStore, char[])
-
engineInit
protected abstract void engineInit(ManagerFactoryParameters managerFactoryParameters) throws Exception
Initializes this factory with a source of provider-specific key material.- Throws:
Exception
- See Also:
KeyManagerFactorySpi.engineInit(ManagerFactoryParameters)
-
engineGetKeyManagers
protected abstract KeyManager[] engineGetKeyManagers()
Returns one key manager for each type of key material.
-
-