Class CryptoConstants

java.lang.Object
org.forgerock.util.crypto.CryptoConstants

public final class CryptoConstants extends Object
Constants for Crypto Algorithms and Json Crypto Json pointer keys.
  • Field Details

    • CRYPTO

      public static final String CRYPTO
      key for the crypto json object.
      See Also:
    • CRYPTO_TYPE

      public static final String CRYPTO_TYPE
      key for crypt type used to generate the crypt value.
      See Also:
    • CRYPTO_VALUE

      public static final String CRYPTO_VALUE
      key for the crypt value, holding the crypt meta-data.
      See Also:
    • CRYPTO_ALGORITHM

      public static final String CRYPTO_ALGORITHM
      Key for the crypto algorithm used to crypt the data.
      See Also:
    • CRYPTO_DATA

      public static final String CRYPTO_DATA
      key for the password data within crypto json.
      See Also:
    • CRYPTO_KEY

      public static final String CRYPTO_KEY
      key for the name of the key-store alias used to crypt the data.
      See Also:
    • PURPOSE_KEY

      public static final String PURPOSE_KEY
      key for the purpose of the key used to crypt the data.
      See Also:
    • STABLE_ID_KEY

      public static final String STABLE_ID_KEY
      key for the id of the key used to crypt the data when purposes are in use.
      See Also:
    • CRYPTO_CIPHER

      public static final String CRYPTO_CIPHER
      key for the cipher used to crypt the data.
      See Also:
    • CIPHER_AES_CBC_PKCS5

      public static final String CIPHER_AES_CBC_PKCS5
      A cipher value for the AES/CBC/PKCS5Padding algorithm.
      See Also:
    • CRYPTO_IV

      public static final String CRYPTO_IV
      key for the Initialization Vector (a.k.a. salt) used to crypt the data.
      See Also:
    • STORAGE_TYPE_HASH

      public static final String STORAGE_TYPE_HASH
      A salted hash encryption storage type.
      See Also:
    • ALGORITHM_MD5

      public static final String ALGORITHM_MD5
      The name of the message digest algorithm that should be used to generate MD5 hashes.
      See Also:
    • ALGORITHM_SHA_1

      public static final String ALGORITHM_SHA_1
      The name of the message digest algorithm that should be used to generate SHA-1 hashes.
      See Also:
    • ALGORITHM_SHA_256

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

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

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

      public static final String ALGORITHM_BCRYPT
      The name of the BCrypt cryptographic hash algorithm.
      See Also:
    • ALGORITHM_SCRYPT

      public static final String ALGORITHM_SCRYPT
      The name of the SCrypt cryptographic hash algorithm.
      See Also:
    • ALGORITHM_PBKDF2

      public static final String ALGORITHM_PBKDF2
      The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.
      See Also: