Package org.opends.server.extensions
Class JvmKeyManagerProvider
java.lang.Object
org.opends.server.api.KeyManagerProvider<KeyManagerProviderCfg>
org.opends.server.extensions.JvmKeyManagerProvider
Represents a
KeyManagerProvider
which use the JVM keystore.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opends.server.api.KeyManagerProvider
KeyManagerProvider.CertificateMonitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Performs any other finalization actions that may be necessary by this key manager provider implementation.Retrieves a set ofKeyManager
objects that may be used for interactions requiring access to a key manager.Returns the keystore used by this key manager provider.protected String
getName()
Returns the name of this key manager provider to be used in certificate monitor entries.void
initializeKeyManagerProvider
(KeyManagerProviderCfg configuration) Initializes this key manager provider based on the information in the provided key manager provider configuration.Methods inherited from class org.opends.server.api.KeyManagerProvider
containsAtLeastOneKey, finalizeKeyManagerProvider, getConfig, getServerContext, isConfigurationAcceptable, registerCertificateMonitorEntries, setConfig, setServerContext, toString
-
Constructor Details
-
JvmKeyManagerProvider
public JvmKeyManagerProvider()
-
-
Method Details
-
initializeKeyManagerProvider
Description copied from class:KeyManagerProvider
Initializes this key manager provider based on the information in the provided key manager provider configuration.- Specified by:
initializeKeyManagerProvider
in classKeyManagerProvider<KeyManagerProviderCfg>
- Parameters:
configuration
- The key manager provider configuration that contains the information to use to initialize this key manager provider.
-
finalizeKeyManagerProviderImpl
protected void finalizeKeyManagerProviderImpl()Description copied from class:KeyManagerProvider
Performs any other finalization actions that may be necessary by this key manager provider implementation.- Specified by:
finalizeKeyManagerProviderImpl
in classKeyManagerProvider<KeyManagerProviderCfg>
-
getKeyManagers
Description copied from class:KeyManagerProvider
Retrieves a set ofKeyManager
objects that may be used for interactions requiring access to a key manager.- Specified by:
getKeyManagers
in classKeyManagerProvider<KeyManagerProviderCfg>
- Returns:
- A set of
KeyManager
objects that may be used for interactions requiring access to a key manager.
-
getKeyStore
Description copied from class:KeyManagerProvider
Returns the keystore used by this key manager provider.- Specified by:
getKeyStore
in classKeyManagerProvider<KeyManagerProviderCfg>
- Returns:
- The
KeyStore
used by this key manager provider.
-
getName
Description copied from class:KeyManagerProvider
Returns the name of this key manager provider to be used in certificate monitor entries.Default implementation returns the name of this key manager provider configuration.
- Overrides:
getName
in classKeyManagerProvider<KeyManagerProviderCfg>
- Returns:
- A string representing the name of
KeyManagerProvider
-