public abstract class KeyManagerFactorySpi extends Object
KeyManagerFactory class.| Constructor and Description |
|---|
KeyManagerFactorySpi()
Creates a new
KeyManagerFactorySpi instance. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract KeyManager[] |
engineGetKeyManagers()
Returns a list of key managers, one instance for each type of key in the
key store.
|
protected abstract void |
engineInit(KeyStore ks,
char[] password)
Initializes this instance with the specified key store and password.
|
protected abstract void |
engineInit(ManagerFactoryParameters spec)
Initializes this instance with the specified factory parameters.
|
public KeyManagerFactorySpi()
KeyManagerFactorySpi instance.protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
ks - 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.protected abstract void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
spec - the factory parameters.InvalidAlgorithmParameterException - if an error occurs.protected abstract KeyManager[] engineGetKeyManagers()