Enum Class SSLNamedGroup

java.lang.Object
java.lang.Enum<SSLNamedGroup>
org.mozilla.jss.ssl.SSLNamedGroup
All Implemented Interfaces:
Serializable, Comparable<SSLNamedGroup>, Constable

public enum SSLNamedGroup extends Enum<SSLNamedGroup>
  • Enum Constant Details

    • ssl_grp_ec_sect163k1

      public static final SSLNamedGroup ssl_grp_ec_sect163k1
    • ssl_grp_ec_sect163r1

      public static final SSLNamedGroup ssl_grp_ec_sect163r1
    • ssl_grp_ec_sect163r2

      public static final SSLNamedGroup ssl_grp_ec_sect163r2
    • ssl_grp_ec_sect193r1

      public static final SSLNamedGroup ssl_grp_ec_sect193r1
    • ssl_grp_ec_sect193r2

      public static final SSLNamedGroup ssl_grp_ec_sect193r2
    • ssl_grp_ec_sect233k1

      public static final SSLNamedGroup ssl_grp_ec_sect233k1
    • ssl_grp_ec_sect233r1

      public static final SSLNamedGroup ssl_grp_ec_sect233r1
    • ssl_grp_ec_sect239k1

      public static final SSLNamedGroup ssl_grp_ec_sect239k1
    • ssl_grp_ec_sect283k1

      public static final SSLNamedGroup ssl_grp_ec_sect283k1
    • ssl_grp_ec_sect283r1

      public static final SSLNamedGroup ssl_grp_ec_sect283r1
    • ssl_grp_ec_sect409k1

      public static final SSLNamedGroup ssl_grp_ec_sect409k1
    • ssl_grp_ec_sect409r1

      public static final SSLNamedGroup ssl_grp_ec_sect409r1
    • ssl_grp_ec_sect571k1

      public static final SSLNamedGroup ssl_grp_ec_sect571k1
    • ssl_grp_ec_sect571r1

      public static final SSLNamedGroup ssl_grp_ec_sect571r1
    • ssl_grp_ec_secp160k1

      public static final SSLNamedGroup ssl_grp_ec_secp160k1
    • ssl_grp_ec_secp160r1

      public static final SSLNamedGroup ssl_grp_ec_secp160r1
    • ssl_grp_ec_secp160r2

      public static final SSLNamedGroup ssl_grp_ec_secp160r2
    • ssl_grp_ec_secp192k1

      public static final SSLNamedGroup ssl_grp_ec_secp192k1
    • ssl_grp_ec_secp192r1

      public static final SSLNamedGroup ssl_grp_ec_secp192r1
    • ssl_grp_ec_secp224k1

      public static final SSLNamedGroup ssl_grp_ec_secp224k1
    • ssl_grp_ec_secp224r1

      public static final SSLNamedGroup ssl_grp_ec_secp224r1
    • ssl_grp_ec_secp256k1

      public static final SSLNamedGroup ssl_grp_ec_secp256k1
    • ssl_grp_ec_secp256r1

      public static final SSLNamedGroup ssl_grp_ec_secp256r1
    • ssl_grp_ec_secp384r1

      public static final SSLNamedGroup ssl_grp_ec_secp384r1
    • ssl_grp_ec_secp521r1

      public static final SSLNamedGroup ssl_grp_ec_secp521r1
    • ssl_grp_ec_curve25519

      public static final SSLNamedGroup ssl_grp_ec_curve25519
    • ssl_grp_ffdhe_2048

      public static final SSLNamedGroup ssl_grp_ffdhe_2048
    • ssl_grp_ffdhe_3072

      public static final SSLNamedGroup ssl_grp_ffdhe_3072
    • ssl_grp_ffdhe_4096

      public static final SSLNamedGroup ssl_grp_ffdhe_4096
    • ssl_grp_ffdhe_6144

      public static final SSLNamedGroup ssl_grp_ffdhe_6144
    • ssl_grp_ffdhe_8192

      public static final SSLNamedGroup ssl_grp_ffdhe_8192
    • ssl_grp_none

      public static final SSLNamedGroup ssl_grp_none
    • ssl_grp_ffdhe_custom

      public static final SSLNamedGroup ssl_grp_ffdhe_custom
  • Field Details

    • value

      private int value
    • curve

      private ECCurve curve
  • Constructor Details

    • SSLNamedGroup

      private SSLNamedGroup(int value)
    • SSLNamedGroup

      private SSLNamedGroup(int value, ECCurve curve)
  • Method Details

    • values

      public static SSLNamedGroup[] 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 SSLNamedGroup 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
    • getValue

      public int getValue()
    • getCurve

      public ECCurve getCurve()
    • valueOf

      public static SSLNamedGroup valueOf(int value)
      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:
      value - 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
    • valueOf

      public static SSLNamedGroup valueOf(ECCurve curve)
      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:
      curve - 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