Enum Class Group

java.lang.Object
java.lang.Enum<Group>
org.apache.tomcat.util.net.openssl.ciphers.Group
All Implemented Interfaces:
Serializable, Comparable<Group>, Constable

public enum Group extends Enum<Group>
All the supported named groups for TLS 1.3.
See Also:
  • Enum Constant Details

    • secp256r1

      public static final Group secp256r1
    • secp384r1

      public static final Group secp384r1
    • secp521r1

      public static final Group secp521r1
    • x25519

      public static final Group x25519
    • x448

      public static final Group x448
    • ffdhe2048

      public static final Group ffdhe2048
    • ffdhe3072

      public static final Group ffdhe3072
    • ffdhe4096

      public static final Group ffdhe4096
    • ffdhe6144

      public static final Group ffdhe6144
    • ffdhe8192

      public static final Group ffdhe8192
    • MLKEM512

      public static final Group MLKEM512
    • MLKEM768

      public static final Group MLKEM768
    • MLKEM1024

      public static final Group MLKEM1024
    • SecP256r1MLKEM768

      public static final Group SecP256r1MLKEM768
    • X25519MLKEM768

      public static final Group X25519MLKEM768
    • SecP384r1MLKEM1024

      public static final Group SecP384r1MLKEM1024
  • Method Details

    • values

      public static Group[] 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 Group 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
    • getId

      public int getId()
      Returns:
      the id
    • valueOf

      public static Group valueOf(int groupId)
      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:
      groupId - 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