Package org.opends.server.extensions
Class JvmKeyManagerProvider
- java.lang.Object
-
- org.opends.server.api.KeyManagerProvider<KeyManagerProviderCfg>
-
- org.opends.server.extensions.JvmKeyManagerProvider
-
public final class JvmKeyManagerProvider extends KeyManagerProvider<KeyManagerProviderCfg>
Represents aKeyManagerProvider
which use the JVM keystore.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opends.server.api.KeyManagerProvider
KeyManagerProvider.CertificateMonitor
-
-
Constructor Summary
Constructors Constructor Description JvmKeyManagerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalizeKeyManagerProviderImpl()
Performs any other finalization actions that may be necessary by this key manager provider implementation.KeyManager[]
getKeyManagers()
Retrieves a set ofKeyManager
objects that may be used for interactions requiring access to a key manager.KeyStore
getKeyStore()
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.protected 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, initializeKeyManagerProvider, isConfigurationAcceptable, registerCertificateMonitorEntries, setConfig, toString
-
-
-
-
Method Detail
-
initializeKeyManagerProvider
protected void initializeKeyManagerProvider(KeyManagerProviderCfg configuration)
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
public KeyManager[] 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
public KeyStore 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
protected String 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
-
-