Package org.conscrypt
Class KeyManagerFactoryImpl
- java.lang.Object
-
- javax.net.ssl.KeyManagerFactorySpi
-
- org.conscrypt.KeyManagerFactoryImpl
-
public class KeyManagerFactoryImpl extends KeyManagerFactorySpi
KeyManagerFactory implementation.- See Also:
KeyManagerFactorySpi
-
-
Constructor Summary
Constructors Constructor Description KeyManagerFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyManager[]engineGetKeyManagers()Returns a list of key managers, one instance for each type of key in the key store.protected voidengineInit(KeyStore ks, char[] password)Initializes this instance with the specified key store and password.protected voidengineInit(ManagerFactoryParameters spec)Initializes this instance with the specified factory parameters.
-
-
-
Method Detail
-
engineInit
protected void engineInit(KeyStore ks, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
Description copied from class:KeyManagerFactorySpiInitializes this instance with the specified key store and password.- Specified by:
engineInitin classKeyManagerFactorySpi- Parameters:
ks- the key store ornullto use the default key store.password- the key store password.- Throws:
KeyStoreException- if initializing this instance fails.NoSuchAlgorithmException- if a required algorithm is not available.UnrecoverableKeyException- if a key cannot be recovered.- See Also:
KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)
-
engineInit
protected void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
Description copied from class:KeyManagerFactorySpiInitializes this instance with the specified factory parameters.- Specified by:
engineInitin classKeyManagerFactorySpi- Parameters:
spec- the factory parameters.- Throws:
InvalidAlgorithmParameterException- if an error occurs.- See Also:
KeyManagerFactorySpi.engineInit(ManagerFactoryParameters spec)
-
engineGetKeyManagers
protected KeyManager[] engineGetKeyManagers()
Description copied from class:KeyManagerFactorySpiReturns a list of key managers, one instance for each type of key in the key store.- Specified by:
engineGetKeyManagersin classKeyManagerFactorySpi- Returns:
- a list of key managers.
- See Also:
KeyManagerFactorySpi.engineGetKeyManagers()
-
-