public class KeyManagerFactoryImpl extends KeyManagerFactorySpi
KeyManagerFactorySpi| Constructor and Description |
|---|
KeyManagerFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected KeyManager[] |
engineGetKeyManagers()
Returns a list of key managers, one instance for each type of key in the
key store.
|
protected void |
engineInit(KeyStore ks,
char[] password)
Initializes this instance with the specified key store and password.
|
protected void |
engineInit(ManagerFactoryParameters spec)
Initializes this instance with the specified factory parameters.
|
protected void engineInit(KeyStore ks, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
KeyManagerFactorySpiengineInit in class KeyManagerFactorySpiks - the key store or null to use the default key store.password - the key store password.KeyStoreException - if initializing this instance fails.NoSuchAlgorithmException - if a required algorithm is not available.UnrecoverableKeyException - if a key cannot be recovered.KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)protected void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
KeyManagerFactorySpiengineInit in class KeyManagerFactorySpispec - the factory parameters.InvalidAlgorithmParameterException - if an error occurs.KeyManagerFactorySpi.engineInit(ManagerFactoryParameters spec)protected KeyManager[] engineGetKeyManagers()
KeyManagerFactorySpiengineGetKeyManagers in class KeyManagerFactorySpiKeyManagerFactorySpi.engineGetKeyManagers()