Enum SSLNamedGroup

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SSLNamedGroup>

    public enum SSLNamedGroup
    extends java.lang.Enum<SSLNamedGroup>
    • Enum Constant Detail

      • 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_ffdhe_custom

        public static final SSLNamedGroup ssl_grp_ffdhe_custom
    • Method Detail

      • values

        public static SSLNamedGroup[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SSLNamedGroup c : SSLNamedGroup.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SSLNamedGroup valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static SSLNamedGroup valueOf​(ECCurve curve)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null