Enum Class AlgorithmIdentity.Kind
- All Implemented Interfaces:
Serializable, Comparable<AlgorithmIdentity.Kind>, Constable
- Enclosing class:
AlgorithmIdentity
Semantic role represented by an identity.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKey-agreement mechanism.Message digest.Key-encapsulation mechanism.Mask-generation function.Public-key algorithm and its exact key parameter set.Signature scheme, independent of a particular key parameter set. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlgorithmIdentity.KindReturns the enum constant of this class with the specified name.static AlgorithmIdentity.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIGEST
Message digest. -
MASK_GENERATION
Mask-generation function. -
SIGNATURE
Signature scheme, independent of a particular key parameter set. -
PUBLIC_KEY
Public-key algorithm and its exact key parameter set. -
KEM
Key-encapsulation mechanism. -
AGREEMENT
Key-agreement mechanism.
-
-
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
-