public class NullKeyManagerProvider extends KeyManagerProvider<KeyManagerProviderCfg>
Constructor and Description |
---|
NullKeyManagerProvider()
Creates a new instance of this null key manager provider.
|
Modifier and Type | Method and Description |
---|---|
void |
finalizeKeyManagerProvider()
Performs any finalization that may be necessary for this key manager
provider.
|
KeyManager[] |
getKeyManagers()
Retrieves a
KeyManager object 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 NullKeyManagerProvider()
initializeKeyManagerProvider
method must be called on the
resulting object before it may be used.public void initializeKeyManagerProvider(KeyManagerProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
initializeKeyManagerProvider
in class KeyManagerProvider<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()
finalizeKeyManagerProvider
in class KeyManagerProvider<KeyManagerProviderCfg>
public KeyManager[] getKeyManagers() throws DirectoryException
KeyManager
object that may be used for
interactions requiring access to a key manager.getKeyManagers
in class KeyManagerProvider<KeyManagerProviderCfg>
KeyManager
object 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-2016 ForgeRock AS. All Rights Reserved.