KeyManagerFactory
class.
All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a particular key manager factory.
KeyManagerFactory
, KeyManager
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected abstract KeyManager[] | Returns: the key managersReturns one key manager for each type of key material. |
protected abstract void | engineInit(KeyStore
the key store or null ks, char[] the password for recovering keys password)Initializes this factory with a source of key material. |
protected abstract void | engineInit(ManagerFactoryParameters
an implementation of a provider-specific parameter
specification spec)Initializes this factory with a source of key material. |
KeyManagerFactorySpi | back to summary |
---|---|
public KeyManagerFactorySpi() Constructor for subclasses to call. |
engineGetKeyManagers | back to summary |
---|---|
protected abstract KeyManager[] engineGetKeyManagers() Returns one key manager for each type of key material.
|
engineInit | back to summary |
---|---|
protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException Initializes this factory with a source of key material.
|
engineInit | back to summary |
---|---|
protected abstract void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException Initializes this factory with a source of key material.
In some cases, initialization parameters other than a keystore
and password may be needed by a provider. Users of that
particular provider are expected to pass an implementation of
the appropriate
|