public interface CryptoManagerCfg extends Configuration
The Crypto Manager provides a common interface for performing compression, decompression, hashing, encryption and other kinds of cryptographic operations.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<CryptoManagerCfg> listener)
Register to be notified when this Crypto Manager is changed.
|
Class<? extends CryptoManagerCfg> |
configurationClass()
Gets the configuration class associated with this Crypto Manager.
|
int |
getCipherKeyLength()
Gets the "cipher-key-length" property.
|
String |
getCipherTransformation()
Gets the "cipher-transformation" property.
|
String |
getDigestAlgorithm()
Gets the "digest-algorithm" property.
|
String |
getKeyWrappingTransformation()
Gets the "key-wrapping-transformation" property.
|
String |
getMacAlgorithm()
Gets the "mac-algorithm" property.
|
int |
getMacKeyLength()
Gets the "mac-key-length" property.
|
SortedSet<String> |
getSSLCertNickname()
Gets the "ssl-cert-nickname" property.
|
SortedSet<String> |
getSSLCipherSuite()
Gets the "ssl-cipher-suite" property.
|
SortedSet<String> |
getSSLProtocol()
Gets the "ssl-protocol" property.
|
boolean |
isSSLEncryption()
Gets the "ssl-encryption" property.
|
void |
removeChangeListener(ConfigurationChangeListener<CryptoManagerCfg> listener)
Deregister an existing Crypto Manager configuration change listener.
|
dn
Class<? extends CryptoManagerCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<CryptoManagerCfg> listener)
listener
- The Crypto Manager configuration change listener.void removeChangeListener(ConfigurationChangeListener<CryptoManagerCfg> listener)
listener
- The Crypto Manager configuration change listener.int getCipherKeyLength()
Specifies the key length in bits for the preferred cipher.
String getCipherTransformation()
Specifies the cipher for the directory server using the syntax algorithm/mode/padding.
The full transformation is required: specifying only an algorithm and allowing the cipher provider to supply the default mode and padding is not supported, because there is no guarantee these default values are the same among different implementations. Some cipher algorithms, including RC4 and ARCFOUR, do not have a mode or padding, and hence must be specified using NONE for the mode field and NoPadding for the padding field. For example, RC4/NONE/NoPadding.
String getDigestAlgorithm()
Specifies the preferred message digest algorithm for the directory server.
String getKeyWrappingTransformation()
The preferred key wrapping transformation for the directory server. This value must be the same for all server instances in a replication topology.
String getMacAlgorithm()
Specifies the preferred MAC algorithm for the directory server.
int getMacKeyLength()
Specifies the key length in bits for the preferred MAC algorithm.
SortedSet<String> getSSLCertNickname()
Specifies the nicknames (also called the aliases) of the certificates that the Crypto Manager should use when performing SSL communication. The property can be used multiple times (referencing different nicknames) when an RSA, a DSA, and an ECC based server certificate is used in parallel.
This is only applicable when the Crypto Manager is configured to use SSL.
SortedSet<String> getSSLCipherSuite()
Specifies the names of the SSL cipher suites that are allowed for use in SSL or TLS communication.
boolean isSSLEncryption()
Specifies whether SSL/TLS is used to provide encrypted communication between two OpenDJ server components.
SortedSet<String> getSSLProtocol()
Specifies the names of the SSL protocols that are allowed for use in SSL or TLS communication.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.