Package co.cryptoservice.sdk
Enum Class SlhDsaVariant
- All Implemented Interfaces:
Serializable,Comparable<SlhDsaVariant>,Constable
An SLH-DSA (FIPS 205) parameter set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionsha2-128f.sha2-128s.sha2-192f.sha2-192s.sha2-256f.sha2-256s.shake-128f.shake-128s.shake-192f.shake-192s.shake-256f.shake-256s. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static SlhDsaVariantReturns the enum constant of this class with the specified name.static SlhDsaVariant[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()The value the API uses.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
SHA2_128F
sha2-128f. -
SHA2_128S
sha2-128s. -
SHA2_192F
sha2-192f. -
SHA2_192S
sha2-192s. -
SHA2_256F
sha2-256f. -
SHA2_256S
sha2-256s. -
SHAKE_128F
shake-128f. -
SHAKE_128S
shake-128s. -
SHAKE_192F
shake-192f. -
SHAKE_192S
shake-192s. -
SHAKE_256F
shake-256f. -
SHAKE_256S
shake-256s.
-
-
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
-
wire
The value the API uses.- Returns:
- the wire name, for example
sha2-128f
-
toString
- Overrides:
toStringin classEnum<SlhDsaVariant>
-