Enum Class CmceKeyGenSpec.Variant

java.lang.Object
java.lang.Enum<CmceKeyGenSpec.Variant>
zeroecho.core.alg.cmce.CmceKeyGenSpec.Variant
All Implemented Interfaces:
Serializable, Comparable<CmceKeyGenSpec.Variant>, Constable
Enclosing class:
CmceKeyGenSpec

public static enum CmceKeyGenSpec.Variant extends Enum<CmceKeyGenSpec.Variant>
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
  • Enum Constant Details

    • MCELIECE_348864

      public static final CmceKeyGenSpec.Variant MCELIECE_348864
      McEliece 348864, standard parameter set (128-bit security).
    • MCELIECE_348864F

      public static final CmceKeyGenSpec.Variant MCELIECE_348864F
      McEliece 348864, fast parameter set (128-bit security).
    • MCELIECE_460896

      public static final CmceKeyGenSpec.Variant MCELIECE_460896
      McEliece 460896, standard parameter set (128-bit security, larger keys).
    • MCELIECE_460896F

      public static final CmceKeyGenSpec.Variant MCELIECE_460896F
      McEliece 460896, fast parameter set (128-bit security, larger keys).
    • MCELIECE_6688128

      public static final CmceKeyGenSpec.Variant MCELIECE_6688128
      McEliece 6688128, standard parameter set (192-bit security).
    • MCELIECE_6688128F

      public static final CmceKeyGenSpec.Variant MCELIECE_6688128F
      McEliece 6688128, fast parameter set (192-bit security).
    • MCELIECE_6960119

      public static final CmceKeyGenSpec.Variant MCELIECE_6960119
      McEliece 6960119, standard parameter set (192-bit security, alternative form).
    • MCELIECE_6960119F

      public static final CmceKeyGenSpec.Variant MCELIECE_6960119F
      McEliece 6960119, fast parameter set (192-bit security, alternative form).
    • MCELIECE_8192128

      public static final CmceKeyGenSpec.Variant MCELIECE_8192128
      McEliece 8192128, standard parameter set (256-bit security).
    • MCELIECE_8192128F

      public static final CmceKeyGenSpec.Variant MCELIECE_8192128F
      McEliece 8192128, fast parameter set (256-bit security).
  • Method Details

    • values

      public static CmceKeyGenSpec.Variant[] 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

      public static CmceKeyGenSpec.Variant valueOf(String name)
      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 name
      NullPointerException - if the argument is null