Enum Class CmceKeyGenSpec.Variant
- All Implemented Interfaces:
Serializable, Comparable<CmceKeyGenSpec.Variant>, Constable
- Enclosing class:
CmceKeyGenSpec
Enumeration of supported CMCE parameter set variants.
Each value corresponds to a named parameter set from the Classic McEliece post-quantum KEM standardization.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMcEliece 348864, standard parameter set (128-bit security).McEliece 348864, fast parameter set (128-bit security).McEliece 460896, standard parameter set (128-bit security, larger keys).McEliece 460896, fast parameter set (128-bit security, larger keys).McEliece 6688128, standard parameter set (192-bit security).McEliece 6688128, fast parameter set (192-bit security).McEliece 6960119, standard parameter set (192-bit security, alternative form).McEliece 6960119, fast parameter set (192-bit security, alternative form).McEliece 8192128, standard parameter set (256-bit security).McEliece 8192128, fast parameter set (256-bit security). -
Method Summary
Modifier and TypeMethodDescriptionstatic CmceKeyGenSpec.VariantReturns the enum constant of this class with the specified name.static CmceKeyGenSpec.Variant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MCELIECE_348864
McEliece 348864, standard parameter set (128-bit security). -
MCELIECE_348864F
McEliece 348864, fast parameter set (128-bit security). -
MCELIECE_460896
McEliece 460896, standard parameter set (128-bit security, larger keys). -
MCELIECE_460896F
McEliece 460896, fast parameter set (128-bit security, larger keys). -
MCELIECE_6688128
McEliece 6688128, standard parameter set (192-bit security). -
MCELIECE_6688128F
McEliece 6688128, fast parameter set (192-bit security). -
MCELIECE_6960119
McEliece 6960119, standard parameter set (192-bit security, alternative form). -
MCELIECE_6960119F
McEliece 6960119, fast parameter set (192-bit security, alternative form). -
MCELIECE_8192128
McEliece 8192128, standard parameter set (256-bit security). -
MCELIECE_8192128F
McEliece 8192128, fast parameter set (256-bit security).
-
-
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
-