public final class CryptoManagerCfgDefn extends ManagedObjectDefinition<CryptoManagerCfgClient,CryptoManagerCfg>
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 |
---|---|
CryptoManagerCfgClient |
createClientConfiguration(ManagedObject<? extends CryptoManagerCfgClient> impl)
Creates a client configuration view of the provided managed object.
|
CryptoManagerCfg |
createServerConfiguration(ServerManagedObject<? extends CryptoManagerCfg> impl)
Creates a server configuration view of the provided server managed
object.
|
IntegerPropertyDefinition |
getCipherKeyLengthPropertyDefinition()
Get the "cipher-key-length" property definition.
|
StringPropertyDefinition |
getCipherTransformationPropertyDefinition()
Get the "cipher-transformation" property definition.
|
StringPropertyDefinition |
getDigestAlgorithmPropertyDefinition()
Get the "digest-algorithm" property definition.
|
static CryptoManagerCfgDefn |
getInstance()
Get the Crypto Manager configuration definition singleton.
|
StringPropertyDefinition |
getKeyWrappingTransformationPropertyDefinition()
Get the "key-wrapping-transformation" property definition.
|
StringPropertyDefinition |
getMacAlgorithmPropertyDefinition()
Get the "mac-algorithm" property definition.
|
IntegerPropertyDefinition |
getMacKeyLengthPropertyDefinition()
Get the "mac-key-length" property definition.
|
Class<CryptoManagerCfg> |
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed
object definition.
|
StringPropertyDefinition |
getSslCertNicknamePropertyDefinition()
Get the "ssl-cert-nickname" property definition.
|
StringPropertyDefinition |
getSslCipherSuitePropertyDefinition()
Get the "ssl-cipher-suite" property definition.
|
BooleanPropertyDefinition |
getSslEncryptionPropertyDefinition()
Get the "ssl-encryption" property definition.
|
StringPropertyDefinition |
getSslProtocolPropertyDefinition()
Get the "ssl-protocol" property definition.
|
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
public static CryptoManagerCfgDefn getInstance()
public CryptoManagerCfgClient createClientConfiguration(ManagedObject<? extends CryptoManagerCfgClient> impl)
ManagedObjectDefinition
createClientConfiguration
in class ManagedObjectDefinition<CryptoManagerCfgClient,CryptoManagerCfg>
impl
- The managed object.public CryptoManagerCfg createServerConfiguration(ServerManagedObject<? extends CryptoManagerCfg> impl)
ManagedObjectDefinition
createServerConfiguration
in class ManagedObjectDefinition<CryptoManagerCfgClient,CryptoManagerCfg>
impl
- The server managed object.public Class<CryptoManagerCfg> getServerConfigurationClass()
ManagedObjectDefinition
getServerConfigurationClass
in class ManagedObjectDefinition<CryptoManagerCfgClient,CryptoManagerCfg>
public IntegerPropertyDefinition getCipherKeyLengthPropertyDefinition()
Specifies the key length in bits for the preferred cipher.
public StringPropertyDefinition getCipherTransformationPropertyDefinition()
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.
public StringPropertyDefinition getDigestAlgorithmPropertyDefinition()
Specifies the preferred message digest algorithm for the directory server.
public StringPropertyDefinition getKeyWrappingTransformationPropertyDefinition()
The preferred key wrapping transformation for the directory server. This value must be the same for all server instances in a replication topology.
public StringPropertyDefinition getMacAlgorithmPropertyDefinition()
Specifies the preferred MAC algorithm for the directory server.
public IntegerPropertyDefinition getMacKeyLengthPropertyDefinition()
Specifies the key length in bits for the preferred MAC algorithm.
public StringPropertyDefinition getSslCertNicknamePropertyDefinition()
Specifies the nicknames (also called the aliases) of the keys or key pairs that the Crypto Manager should use when performing SSL communication. The property can be used multiple times (referencing different nicknames) when server certificates with different public key algorithms are used in parallel (for example, RSA, DSA, and ECC-based algorithms). When a nickname refers to an asymmetric (public/private) key pair, the nickname for the public key certificate and associated private key entry must match exactly. A single nickname is used to retrieve both the public key and the private key.
This is only applicable when the Crypto Manager is configured to use SSL.
public StringPropertyDefinition getSslCipherSuitePropertyDefinition()
Specifies the names of the SSL cipher suites that are allowed for use in SSL or TLS communication.
public BooleanPropertyDefinition getSslEncryptionPropertyDefinition()
Specifies whether SSL/TLS is used to provide encrypted communication between two OpenDJ server components.
public StringPropertyDefinition getSslProtocolPropertyDefinition()
Specifies the names of the SSL protocols that are allowed for use in SSL or TLS communication.
Copyright 2010-2018 ForgeRock AS.