public class JvmKeyManagerProvider extends KeyManagerProvider<org.forgerock.opendj.server.config.server.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(org.forgerock.opendj.server.config.server.KeyManagerProviderCfg configuration)
Initializes this key manager provider based on the information in the provided key manager provider
configuration.
|
containsAtLeastOneKey, containsKeyWithAlias, isConfigurationAcceptable
public void initializeKeyManagerProvider(org.forgerock.opendj.server.config.server.KeyManagerProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
KeyManagerProvider
initializeKeyManagerProvider
in class KeyManagerProvider<org.forgerock.opendj.server.config.server.KeyManagerProviderCfg>
configuration
- The key manager provider configuration that contains the information to use to initialize this key
manager provider.org.forgerock.opendj.config.server.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<org.forgerock.opendj.server.config.server.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<org.forgerock.opendj.server.config.server.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–2017 ForgeRock AS. All rights reserved.