public interface CryptoManagerCfgClient extends ConfigurationClient
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 |
---|---|
ManagedObjectDefinition<? extends CryptoManagerCfgClient,? extends CryptoManagerCfg> |
definition()
Get the configuration definition 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 |
setCipherKeyLength(Integer value)
Sets the "cipher-key-length" property.
|
void |
setCipherTransformation(String value)
Sets the "cipher-transformation" property.
|
void |
setDigestAlgorithm(String value)
Sets the "digest-algorithm" property.
|
void |
setKeyWrappingTransformation(String value)
Sets the "key-wrapping-transformation" property.
|
void |
setMacAlgorithm(String value)
Sets the "mac-algorithm" property.
|
void |
setMacKeyLength(Integer value)
Sets the "mac-key-length" property.
|
void |
setSSLCertNickname(Collection<String> values)
Sets the "ssl-cert-nickname" property.
|
void |
setSSLCipherSuite(Collection<String> values)
Sets the "ssl-cipher-suite" property.
|
void |
setSSLEncryption(Boolean value)
Sets the "ssl-encryption" property.
|
void |
setSSLProtocol(Collection<String> values)
Sets the "ssl-protocol" property.
|
commit, properties
ManagedObjectDefinition<? extends CryptoManagerCfgClient,? extends CryptoManagerCfg> definition()
definition
in interface ConfigurationClient
int getCipherKeyLength()
Specifies the key length in bits for the preferred cipher.
void setCipherKeyLength(Integer value) throws PropertyException
Specifies the key length in bits for the preferred cipher.
value
- The value of the "cipher-key-length" property.PropertyException
- If the new value is invalid.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.
void setCipherTransformation(String value) throws PropertyException
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.
value
- The value of the "cipher-transformation" property.PropertyException
- If the new value is invalid.String getDigestAlgorithm()
Specifies the preferred message digest algorithm for the directory server.
void setDigestAlgorithm(String value) throws PropertyException
Specifies the preferred message digest algorithm for the directory server.
value
- The value of the "digest-algorithm" property.PropertyException
- If the new value is invalid.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.
void setKeyWrappingTransformation(String value) throws PropertyException
The preferred key wrapping transformation for the directory server. This value must be the same for all server instances in a replication topology.
value
- The value of the "key-wrapping-transformation" property.PropertyException
- If the new value is invalid.String getMacAlgorithm()
Specifies the preferred MAC algorithm for the directory server.
void setMacAlgorithm(String value) throws PropertyException
Specifies the preferred MAC algorithm for the directory server.
value
- The value of the "mac-algorithm" property.PropertyException
- If the new value is invalid.int getMacKeyLength()
Specifies the key length in bits for the preferred MAC algorithm.
void setMacKeyLength(Integer value) throws PropertyException
Specifies the key length in bits for the preferred MAC algorithm.
value
- The value of the "mac-key-length" property.PropertyException
- If the new value is invalid.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.
void setSSLCertNickname(Collection<String> values) throws PropertyException
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.
values
- The values of the "ssl-cert-nickname" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getSSLCipherSuite()
Specifies the names of the SSL cipher suites that are allowed for use in SSL or TLS communication.
void setSSLCipherSuite(Collection<String> values) throws PropertyException
Specifies the names of the SSL cipher suites that are allowed for use in SSL or TLS communication.
values
- The values of the "ssl-cipher-suite" property.PropertyException
- If one or more of the new values are invalid.boolean isSSLEncryption()
Specifies whether SSL/TLS is used to provide encrypted communication between two OpenDJ server components.
void setSSLEncryption(Boolean value) throws PropertyException
Specifies whether SSL/TLS is used to provide encrypted communication between two OpenDJ server components.
value
- The value of the "ssl-encryption" property.PropertyException
- If the new value is invalid.SortedSet<String> getSSLProtocol()
Specifies the names of the SSL protocols that are allowed for use in SSL or TLS communication.
void setSSLProtocol(Collection<String> values) throws PropertyException
Specifies the names of the SSL protocols that are allowed for use in SSL or TLS communication.
values
- The values of the "ssl-protocol" property.PropertyException
- If one or more of the new values are invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.