public interface FileBasedKeyManagerProviderCfg extends KeyManagerProviderCfg
The File Based Key Manager Provider can be used to obtain the server certificate from a key store file on the local file system.
Modifier and Type | Method and Description |
---|---|
void |
addFileBasedChangeListener(ConfigurationChangeListener<FileBasedKeyManagerProviderCfg> listener)
Register to be notified when this File Based Key Manager Provider is changed.
|
Class<? extends FileBasedKeyManagerProviderCfg> |
configurationClass()
Gets the configuration class associated with this File Based Key Manager Provider.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getKeyStoreFile()
Gets the "key-store-file" property.
|
String |
getKeyStorePin()
Gets the "key-store-pin" property.
|
String |
getKeyStoreType()
Gets the "key-store-type" property.
|
void |
removeFileBasedChangeListener(ConfigurationChangeListener<FileBasedKeyManagerProviderCfg> listener)
Deregister an existing File Based Key Manager Provider configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends FileBasedKeyManagerProviderCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface KeyManagerProviderCfg
void addFileBasedChangeListener(ConfigurationChangeListener<FileBasedKeyManagerProviderCfg> listener)
listener
- The File Based Key Manager Provider configuration change listener.void removeFileBasedChangeListener(ConfigurationChangeListener<FileBasedKeyManagerProviderCfg> listener)
listener
- The File Based Key Manager Provider configuration change listener.String getJavaClass()
The fully-qualified name of the Java class that provides the File Based Key Manager Provider implementation.
getJavaClass
in interface KeyManagerProviderCfg
String getKeyStoreFile()
Specifies the path to the file that contains the private key information. This may be an absolute path, or a path that is relative to the OpenDJ instance root.
Changes to this property will take effect the next time that the key manager is accessed.
String getKeyStorePin()
Specifies the clear-text PIN needed to access the File Based Key Manager Provider .
String getKeyStoreType()
Specifies the format for the data in the key store file.
Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well. If no value is provided, the JVM-default value is used. Changes to this configuration attribute will take effect the next time that the key manager is accessed.
Copyright 2010-2018 ForgeRock AS.