|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.KeyManagerProvider<T>
T
- The type of key manager provider configuration handled by
this key manager provider implementation.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=true) public abstract class KeyManagerProvider<T extends KeyManagerProviderCfg>
This class defines an API that may be used to obtain a set of
javax.net.ssl.KeyManager
objects for use when performing
SSL communication.
Constructor Summary | |
---|---|
KeyManagerProvider()
|
Method Summary | |
---|---|
abstract void |
finalizeKeyManagerProvider()
Performs any finalization that may be necessary for this key manager provider. |
abstract javax.net.ssl.KeyManager[] |
getKeyManagers()
Retrieves a set of KeyManager objects that may be used
for interactions requiring access to a key manager. |
abstract void |
initializeKeyManagerProvider(T configuration)
Initializes this key manager provider based on the information in the provided key manager provider configuration. |
boolean |
isConfigurationAcceptable(T configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this key manager provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyManagerProvider()
Method Detail |
---|
public abstract void initializeKeyManagerProvider(T configuration) throws ConfigException, InitializationException
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 boolean isConfigurationAcceptable(T configuration, java.util.List<Message> unacceptableReasons)
configuration
- The key manager provider
configuration for which to make the
determination.unacceptableReasons
- A list that may be used to hold the
reasons that the provided
configuration is not acceptable.
true
if the provided configuration is acceptable
for this key manager provider, or false
if not.public abstract void finalizeKeyManagerProvider()
public abstract javax.net.ssl.KeyManager[] getKeyManagers() throws DirectoryException
KeyManager
objects that may be used
for interactions requiring access to a key manager.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |