public class JvmKeyManagerProvider extends KeyManagerProvider<KeyManagerProviderCfg>
KeyManagerProvider
which use the JVM keystore.Constructor and Description |
---|
JvmKeyManagerProvider() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeKeyManagerProvider()
Performs any finalization that may be necessary for this key manager provider.
|
KeyManager[] |
getKeyManagers()
Retrieves a set of
KeyManager objects that may be used for interactions requiring access to a key
manager. |
void |
initializeKeyManagerProvider(KeyManagerProviderCfg configuration)
Initializes this key manager provider based on the information in the provided key manager provider
configuration.
|
containsAtLeastOneKey, containsKeyWithAlias, isConfigurationAcceptable
public void initializeKeyManagerProvider(KeyManagerProviderCfg configuration) throws ConfigException, InitializationException
KeyManagerProvider
initializeKeyManagerProvider
in class KeyManagerProvider<KeyManagerProviderCfg>
configuration
- The key manager provider configuration that contains the information to use to initialize this key
manager provider.ConfigException
- If an unrecoverable problem arises in the process of performing the initialization as a result of the
server configuration.InitializationException
- If a problem occurs during initialization that is not related to the server configuration.public void finalizeKeyManagerProvider()
KeyManagerProvider
finalizeKeyManagerProvider
in class KeyManagerProvider<KeyManagerProviderCfg>
public KeyManager[] getKeyManagers() throws DirectoryException
KeyManagerProvider
KeyManager
objects that may be used for interactions requiring access to a key
manager.getKeyManagers
in class KeyManagerProvider<KeyManagerProviderCfg>
KeyManager
objects that may be used for interactions requiring access to a key manager.DirectoryException
- If a problem occurs while attempting to obtain the set of key managers.Copyright 2010-2020 ForgeRock AS.