Class ExtensionsConstants


  • public class ExtensionsConstants
    extends Object
    This class defines a number of constants that may be used by Directory Server extensions.
    • Field Detail

      • AUTH_PASSWORD_SCHEME_NAME_SALTED_MD5

        public static final String AUTH_PASSWORD_SCHEME_NAME_SALTED_MD5
        The authentication password scheme name for use with passwords encoded in a salted MD5 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_1

        public static final String AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_1
        The authentication password scheme name for use with passwords encoded in a salted SHA-1 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_256

        public static final String AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_256
        The authentication password scheme name for use with passwords encoded in a salted SHA-256 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_384

        public static final String AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_384
        The authentication password scheme name for use with passwords encoded in a salted SHA-384 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_512

        public static final String AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_512
        The authentication password scheme name for use with passwords encoded in a salted SHA-512 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_PBKDF2

        public static final String AUTH_PASSWORD_SCHEME_NAME_PBKDF2
        The authentication password scheme name for use with passwords encoded in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_PBKDF2_HMAC_SHA256

        public static final String AUTH_PASSWORD_SCHEME_NAME_PBKDF2_HMAC_SHA256
        The authentication password scheme name for use with passwords encoded in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_PBKDF2_HMAC_SHA512

        public static final String AUTH_PASSWORD_SCHEME_NAME_PBKDF2_HMAC_SHA512
        The authentication password scheme name for use with passwords encoded in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • AUTH_PASSWORD_SCHEME_NAME_PKCS5S2

        public static final String AUTH_PASSWORD_SCHEME_NAME_PKCS5S2
        The authentication password scheme name for use with passwords encoded in a PKCS5S2 representation.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_MD5

        public static final String MESSAGE_DIGEST_ALGORITHM_MD5
        The name of the message digest algorithm that should be used to generate MD5 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_SHA_1

        public static final String MESSAGE_DIGEST_ALGORITHM_SHA_1
        The name of the message digest algorithm that should be used to generate SHA-1 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_SHA_256

        public static final String MESSAGE_DIGEST_ALGORITHM_SHA_256
        The name of the message digest algorithm that should be used to generate 256-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_SHA_384

        public static final String MESSAGE_DIGEST_ALGORITHM_SHA_384
        The name of the message digest algorithm that should be used to generate 384-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_SHA_512

        public static final String MESSAGE_DIGEST_ALGORITHM_SHA_512
        The name of the message digest algorithm that should be used to generate 512-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_PBKDF2

        public static final String MESSAGE_DIGEST_ALGORITHM_PBKDF2
        The name of the message digest algorithm that should be used to generate PBKDF2 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_PBKDF2_HMAC_SHA256

        public static final String MESSAGE_DIGEST_ALGORITHM_PBKDF2_HMAC_SHA256
        The name of the message digest algorithm that should be used to generate PBKDF2 hashes.
        See Also:
        Constant Field Values
      • MESSAGE_DIGEST_ALGORITHM_PBKDF2_HMAC_SHA512

        public static final String MESSAGE_DIGEST_ALGORITHM_PBKDF2_HMAC_SHA512
        The name of the message digest algorithm that should be used to generate PBKDF2 hashes.
        See Also:
        Constant Field Values
      • CIPHER_TRANSFORMATION_3DES

        public static final String CIPHER_TRANSFORMATION_3DES
        The cipher transformation that should be used when performing 3DES encryption/decription.
        See Also:
        Constant Field Values
      • CIPHER_TRANSFORMATION_AES

        public static final String CIPHER_TRANSFORMATION_AES
        The cipher transformation that should be used when performing AES encryption/decription.
        See Also:
        Constant Field Values
      • CIPHER_TRANSFORMATION_BLOWFISH

        public static final String CIPHER_TRANSFORMATION_BLOWFISH
        The cipher transformation that should be used when performing blowfish encryption/decription.
        See Also:
        Constant Field Values
      • CIPHER_TRANSFORMATION_RC4

        public static final String CIPHER_TRANSFORMATION_RC4
        The cipher transformation that should be used when performing RC4 encryption/decription. TODO: https://opends.dev.java.net/issues/show_bug.cgi?id=2471
        See Also:
        Constant Field Values
      • KEY_SIZE_3DES

        public static final int KEY_SIZE_3DES
        The key size (in bits) that should be used for the encryption key when using the 3DES cipher.
        See Also:
        Constant Field Values
      • KEY_SIZE_AES

        public static final int KEY_SIZE_AES
        The key size (in bits) that should be used for the encryption key when using the AES cipher. TODO: https://opends.dev.java.net/issues/show_bug.cgi?id=2475
        See Also:
        Constant Field Values
      • KEY_SIZE_BLOWFISH

        public static final int KEY_SIZE_BLOWFISH
        The key size (in bits) that should be used for the encryption key when using the Blowfish cipher. TODO: https://opends.dev.java.net/issues/show_bug.cgi?id=2475
        See Also:
        Constant Field Values
      • KEY_SIZE_RC4

        public static final int KEY_SIZE_RC4
        The key size (in bits) that should be used for the encryption key when using the RC4 cipher. TODO: https://opends.dev.java.net/issues/show_bug.cgi?id=2475
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_3DES

        public static final String STORAGE_SCHEME_NAME_3DES
        The password storage scheme name that will be used for passwords that are stored in 3DES-encrypted form.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_AES

        public static final String STORAGE_SCHEME_NAME_AES
        The password storage scheme name that will be used for passwords that are stored in AES-encrypted form.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_BASE64

        public static final String STORAGE_SCHEME_NAME_BASE64
        The password storage scheme name that will be used for passwords that are stored in base64-encoded form (virtually no protection, but the value is reversible).
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_BCRYPT

        public static final String STORAGE_SCHEME_NAME_BCRYPT
        The password storage scheme name that will be used for passwords that are stored in base64-encoded form (virtually no protection, but the value is reversible).
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_BLOWFISH

        public static final String STORAGE_SCHEME_NAME_BLOWFISH
        The password storage scheme name that will be used for passwords that are stored in Blowfish-encrypted form.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_CLEAR

        public static final String STORAGE_SCHEME_NAME_CLEAR
        The password storage scheme name that will be used for passwords that are not encoded or obscured in any way.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_MD5

        public static final String STORAGE_SCHEME_NAME_MD5
        The password storage scheme name that will be used for passwords stored in an MD5 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_RC4

        public static final String STORAGE_SCHEME_NAME_RC4
        The password storage scheme name that will be used for passwords that are stored in RC4-encrypted form.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SALTED_MD5

        public static final String STORAGE_SCHEME_NAME_SALTED_MD5
        The password storage scheme name that will be used for passwords stored in a salted MD5 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SHA_1

        public static final String STORAGE_SCHEME_NAME_SHA_1
        The password storage scheme name that will be used for passwords stored in a SHA-1 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SALTED_SHA_1

        public static final String STORAGE_SCHEME_NAME_SALTED_SHA_1
        The password storage scheme name that will be used for passwords stored in a salted SHA-1 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SALTED_SHA_256

        public static final String STORAGE_SCHEME_NAME_SALTED_SHA_256
        The password storage scheme name that will be used for passwords stored in a salted SHA-256 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SALTED_SHA_384

        public static final String STORAGE_SCHEME_NAME_SALTED_SHA_384
        The password storage scheme name that will be used for passwords stored in a salted SHA-384 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_SALTED_SHA_512

        public static final String STORAGE_SCHEME_NAME_SALTED_SHA_512
        The password storage scheme name that will be used for passwords stored in a salted SHA-512 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_PBKDF2

        public static final String STORAGE_SCHEME_NAME_PBKDF2
        The password storage scheme name that will be used for passwords stored in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_PBKDF2_HMAC_SHA256

        public static final String STORAGE_SCHEME_NAME_PBKDF2_HMAC_SHA256
        The password storage scheme name that will be used for passwords stored in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_PBKDF2_HMAC_SHA512

        public static final String STORAGE_SCHEME_NAME_PBKDF2_HMAC_SHA512
        The password storage scheme name that will be used for passwords stored in a PBKDF2 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_PKCS5S2

        public static final String STORAGE_SCHEME_NAME_PKCS5S2
        The password storage scheme name that will be used for passwords stored in a PKCS5S2 representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_NAME_CRYPT

        public static final String STORAGE_SCHEME_NAME_CRYPT
        The password storage scheme name that will be used for passwords stored in a UNIX crypt representation.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_PREFIX

        public static final String STORAGE_SCHEME_PREFIX
        The string that will appear before the name of the password storage scheme in an encoded password.
        See Also:
        Constant Field Values
      • STORAGE_SCHEME_SUFFIX

        public static final String STORAGE_SCHEME_SUFFIX
        The string that will appear after the name of the password storage scheme in an encoded password.
        See Also:
        Constant Field Values
      • TYPE_PASSWORD_MODIFY_USER_ID

        public static final byte TYPE_PASSWORD_MODIFY_USER_ID
        The ASN.1 element type that will be used to encode the userIdentity component in a password modify extended request.
        See Also:
        Constant Field Values
      • TYPE_PASSWORD_MODIFY_OLD_PASSWORD

        public static final byte TYPE_PASSWORD_MODIFY_OLD_PASSWORD
        The ASN.1 element type that will be used to encode the oldPasswd component in a password modify extended request.
        See Also:
        Constant Field Values
      • TYPE_PASSWORD_MODIFY_NEW_PASSWORD

        public static final byte TYPE_PASSWORD_MODIFY_NEW_PASSWORD
        The ASN.1 element type that will be used to encode the newPasswd component in a password modify extended request.
        See Also:
        Constant Field Values
      • TYPE_PASSWORD_MODIFY_GENERATED_PASSWORD

        public static final byte TYPE_PASSWORD_MODIFY_GENERATED_PASSWORD
        The ASN.1 element type that will be used to encode the genPasswd component in a password modify extended response.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExtensionsConstants

        public ExtensionsConstants()