Package org.forgerock.util.crypto
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 Summary
Fields Modifier and Type Field Description static StringALGORITHM_BCRYPTThe name of the BCrypt cryptographic hash algorithm.static StringALGORITHM_MD5The name of the message digest algorithm that should be used to generate MD5 hashes.static StringALGORITHM_PBKDF2The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.static StringALGORITHM_SCRYPTThe name of the SCrypt cryptographic hash algorithm.static StringALGORITHM_SHA_1The name of the message digest algorithm that should be used to generate SHA-1 hashes.static StringALGORITHM_SHA_256The name of the message digest algorithm that should be used to generate 256-bit SHA-2 hashes.static StringALGORITHM_SHA_384The name of the message digest algorithm that should be used to generate 384-bit SHA-2 hashes.static StringALGORITHM_SHA_512The name of the message digest algorithm that should be used to generate 512-bit SHA-2 hashes.static StringCIPHER_AES_CBC_PKCS5A cipher value for the AES/CBC/PKCS5Padding algorithm.static StringCRYPTOkey for the crypto json object.static StringCRYPTO_ALGORITHMKey for the crypto algorithm used to crypt the data.static StringCRYPTO_CIPHERkey for the cipher used to crypt the data.static StringCRYPTO_DATAkey for the password data within crypto json.static StringCRYPTO_IVkey for the Initialization Vector (a.k.a.static StringCRYPTO_KEYkey for the name of the key-store alias used to crypt the data.static StringCRYPTO_TYPEkey for crypt type used to generate the crypt value.static StringCRYPTO_VALUEkey for the crypt value, holding the crypt meta-data.static StringPURPOSE_KEYkey for the purpose of the key used to crypt the data.static StringSTABLE_ID_KEYkey for the id of the key used to crypt the data when purposes are in use.static StringSTORAGE_TYPE_HASHA salted hash encryption storage type.
-
-
-
Field Detail
-
CRYPTO
public static final String CRYPTO
key for the crypto json object.- See Also:
- Constant Field Values
-
CRYPTO_TYPE
public static final String CRYPTO_TYPE
key for crypt type used to generate the crypt value.- See Also:
- Constant Field Values
-
CRYPTO_VALUE
public static final String CRYPTO_VALUE
key for the crypt value, holding the crypt meta-data.- See Also:
- Constant Field Values
-
CRYPTO_ALGORITHM
public static final String CRYPTO_ALGORITHM
Key for the crypto algorithm used to crypt the data.- See Also:
- Constant Field Values
-
CRYPTO_DATA
public static final String CRYPTO_DATA
key for the password data within crypto json.- See Also:
- Constant Field Values
-
CRYPTO_KEY
public static final String CRYPTO_KEY
key for the name of the key-store alias used to crypt the data.- See Also:
- Constant Field Values
-
PURPOSE_KEY
public static final String PURPOSE_KEY
key for the purpose of the key used to crypt the data.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
CRYPTO_CIPHER
public static final String CRYPTO_CIPHER
key for the cipher used to crypt the data.- See Also:
- Constant Field Values
-
CIPHER_AES_CBC_PKCS5
public static final String CIPHER_AES_CBC_PKCS5
A cipher value for the AES/CBC/PKCS5Padding algorithm.- See Also:
- Constant Field Values
-
CRYPTO_IV
public static final String CRYPTO_IV
key for the Initialization Vector (a.k.a. salt) used to crypt the data.- See Also:
- Constant Field Values
-
STORAGE_TYPE_HASH
public static final String STORAGE_TYPE_HASH
A salted hash encryption storage type.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
ALGORITHM_BCRYPT
public static final String ALGORITHM_BCRYPT
The name of the BCrypt cryptographic hash algorithm.- See Also:
- Constant Field Values
-
ALGORITHM_SCRYPT
public static final String ALGORITHM_SCRYPT
The name of the SCrypt cryptographic hash algorithm.- See Also:
- Constant Field Values
-
ALGORITHM_PBKDF2
public static final String ALGORITHM_PBKDF2
The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.- See Also:
- Constant Field Values
-
-