Class CryptoManagerCfgDefn


  • public final class CryptoManagerCfgDefn
    extends ManagedObjectDefinition<CryptoManagerCfgClient,​CryptoManagerCfg>
    An interface for querying the Crypto Manager managed object definition meta information.

    The Crypto Manager provides a common interface for performing compression, decompression, hashing, encryption and other kinds of cryptographic operations.

    • Method Detail

      • getInstance

        public static CryptoManagerCfgDefn getInstance()
        Get the Crypto Manager configuration definition singleton.
        Returns:
        Returns the Crypto Manager configuration definition singleton.
      • getCipherKeyLengthPropertyDefinition

        public IntegerPropertyDefinition getCipherKeyLengthPropertyDefinition()
        Get the "cipher-key-length" property definition.

        Specifies the key length in bits for the preferred cipher.

        Returns:
        Returns the "cipher-key-length" property definition.
      • getCipherTransformationPropertyDefinition

        public StringPropertyDefinition getCipherTransformationPropertyDefinition()
        Get the "cipher-transformation" property definition.

        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.

        Returns:
        Returns the "cipher-transformation" property definition.
      • getDigestAlgorithmPropertyDefinition

        public StringPropertyDefinition getDigestAlgorithmPropertyDefinition()
        Get the "digest-algorithm" property definition.

        Specifies the preferred message digest algorithm for the directory server.

        Returns:
        Returns the "digest-algorithm" property definition.
      • getKeyWrappingTransformationPropertyDefinition

        public StringPropertyDefinition getKeyWrappingTransformationPropertyDefinition()
        Get the "key-wrapping-transformation" property definition.

        The preferred key wrapping transformation for the directory server. This value must be the same for all server instances in a replication topology.

        Returns:
        Returns the "key-wrapping-transformation" property definition.
      • getMacAlgorithmPropertyDefinition

        public StringPropertyDefinition getMacAlgorithmPropertyDefinition()
        Get the "mac-algorithm" property definition.

        Specifies the preferred MAC algorithm for the directory server.

        Returns:
        Returns the "mac-algorithm" property definition.
      • getMacKeyLengthPropertyDefinition

        public IntegerPropertyDefinition getMacKeyLengthPropertyDefinition()
        Get the "mac-key-length" property definition.

        Specifies the key length in bits for the preferred MAC algorithm.

        Returns:
        Returns the "mac-key-length" property definition.
      • getSSLCertNicknamePropertyDefinition

        public StringPropertyDefinition getSSLCertNicknamePropertyDefinition()
        Get the "ssl-cert-nickname" property definition.

        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.

        Returns:
        Returns the "ssl-cert-nickname" property definition.
      • getSSLCipherSuitePropertyDefinition

        public StringPropertyDefinition getSSLCipherSuitePropertyDefinition()
        Get the "ssl-cipher-suite" property definition.

        Specifies the names of the SSL cipher suites that are allowed for use in SSL or TLS communication.

        Returns:
        Returns the "ssl-cipher-suite" property definition.
      • getSSLEncryptionPropertyDefinition

        public BooleanPropertyDefinition getSSLEncryptionPropertyDefinition()
        Get the "ssl-encryption" property definition.

        Specifies whether SSL/TLS is used to provide encrypted communication between two OpenDJ server components.

        Returns:
        Returns the "ssl-encryption" property definition.
      • getSSLProtocolPropertyDefinition

        public StringPropertyDefinition getSSLProtocolPropertyDefinition()
        Get the "ssl-protocol" property definition.

        Specifies the names of the SSL protocols that are allowed for use in SSL or TLS communication.

        Returns:
        Returns the "ssl-protocol" property definition.