Enum Class KeyMasterHashingAlgorithm
- All Implemented Interfaces:
Serializable
,Comparable<KeyMasterHashingAlgorithm>
,Constable
The type of hashing algorithm used by KeyMaster must also be defined in the Liberator (see the signing-algorithm option of the add-sigkey configuration item in the Caplin Liberator Administration Guide). The Liberator uses this algorithm when determining whether a received token is valid. See also Digital signature algorithm in the Caplin KeyMaster Overview.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyMasterHashingAlgorithm
Returns the enum constant of this class with the specified name.static KeyMasterHashingAlgorithm[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MD5
Defines the MD5 hash algorithm.Note: MD5 can produce hash collisions.
-
SHA256
Defines the SHA256 hash algorithm.This hashing algorithm is only supported by Liberator release 4.5.7 and above.
-
SHA384
Defines the SHA384 hash algorithm.This hashing algorithm is only supported by Liberator release 4.5.13 and above.
-
SHA512
Specifies the use of the SHA512 hash algorithm.This hashing algorithm is only supported by Liberator release 4.5.13 and above.
-
RIPEMD160
Defines the RipeMD160 hash algorithm.This hashing algorithm is only supported by Liberator release 4.5.13 and above.
-
SHA1
Defines the SHA1 hash algorithm.This hashing algorithm is only supported by Liberator release 4.5.13 and above.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getAlgorithmName
-