Package org.forgerock.util.crypto
Class CryptoConstants
java.lang.Object
org.forgerock.util.crypto.CryptoConstants
Constants for Crypto Algorithms and Json Crypto Json pointer keys.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the BCrypt cryptographic hash algorithm.static final String
The name of the message digest algorithm that should be used to generate MD5 hashes.static final String
The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.static final String
The name of the SCrypt cryptographic hash algorithm.static final String
The name of the message digest algorithm that should be used to generate SHA-1 hashes.static final String
The name of the message digest algorithm that should be used to generate 256-bit SHA-2 hashes.static final String
The name of the message digest algorithm that should be used to generate 384-bit SHA-2 hashes.static final String
The name of the message digest algorithm that should be used to generate 512-bit SHA-2 hashes.static final String
A cipher value for the AES/CBC/PKCS5Padding algorithm.static final String
key for the crypto json object.static final String
Key for the crypto algorithm used to crypt the data.static final String
key for the cipher used to crypt the data.static final String
key for the password data within crypto json.static final String
key for the Initialization Vector (a.k.a.static final String
key for the name of the key-store alias used to crypt the data.static final String
key for crypt type used to generate the crypt value.static final String
key for the crypt value, holding the crypt meta-data.static final String
key for the purpose of the key used to crypt the data.static final String
key for the id of the key used to crypt the data when purposes are in use.static final String
A salted hash encryption storage type. -
Method Summary
-
Field Details
-
CRYPTO
key for the crypto json object.- See Also:
-
CRYPTO_TYPE
key for crypt type used to generate the crypt value.- See Also:
-
CRYPTO_VALUE
key for the crypt value, holding the crypt meta-data.- See Also:
-
CRYPTO_ALGORITHM
Key for the crypto algorithm used to crypt the data.- See Also:
-
CRYPTO_DATA
key for the password data within crypto json.- See Also:
-
CRYPTO_KEY
key for the name of the key-store alias used to crypt the data.- See Also:
-
PURPOSE_KEY
key for the purpose of the key used to crypt the data.- See Also:
-
STABLE_ID_KEY
key for the id of the key used to crypt the data when purposes are in use.- See Also:
-
CRYPTO_CIPHER
key for the cipher used to crypt the data.- See Also:
-
CIPHER_AES_CBC_PKCS5
A cipher value for the AES/CBC/PKCS5Padding algorithm.- See Also:
-
CRYPTO_IV
key for the Initialization Vector (a.k.a. salt) used to crypt the data.- See Also:
-
STORAGE_TYPE_HASH
A salted hash encryption storage type.- See Also:
-
ALGORITHM_MD5
The name of the message digest algorithm that should be used to generate MD5 hashes.- See Also:
-
ALGORITHM_SHA_1
The name of the message digest algorithm that should be used to generate SHA-1 hashes.- See Also:
-
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
The name of the message digest algorithm that should be used to generate 384-bit SHA-2 hashes.- See Also:
-
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
The name of the BCrypt cryptographic hash algorithm.- See Also:
-
ALGORITHM_SCRYPT
The name of the SCrypt cryptographic hash algorithm.- See Also:
-
ALGORITHM_PBKDF2
The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.- See Also:
-