Uses of Enum
com.aoapps.security.HashedKey.Algorithm
-
Uses of HashedKey.Algorithm in com.aoapps.security
Modifier and TypeFieldDescriptionstatic final HashedKey.Algorithm
HashedKey.RECOMMENDED_ALGORITHM
The algorithm recommended for use with new keys.Modifier and TypeMethodDescriptionstatic HashedKey.Algorithm
HashedKey.Algorithm.findAlgorithm
(String algorithmName) Case-insensitive lookup by algorithm name.HashedKey.getAlgorithm()
static HashedKey.Algorithm
Returns the enum constant of this type with the specified name.static HashedKey.Algorithm[]
HashedKey.Algorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic HashedKey
HashedKey.valueOf
(HashedKey.Algorithm algorithm, byte[] hash) Restores aHashedKey
from its individual fields.
HashedKey.valueOf(com.aoapps.security.HashedKey.Algorithm, byte[])
, which is able to automatically return theHashedKey.NO_KEY
singleton.