- java.lang.Object
-
- java.lang.Enum<TlsConstants.NamedGroup>
-
- net.luminis.tls.TlsConstants.NamedGroup
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TlsConstants.NamedGroup>
- Enclosing class:
- TlsConstants
public static enum TlsConstants.NamedGroup extends java.lang.Enum<TlsConstants.NamedGroup>
-
-
Field Summary
Fields Modifier and Type Field Description shortvalue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TlsConstants.NamedGroupvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TlsConstants.NamedGroup[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
secp256r1
public static final TlsConstants.NamedGroup secp256r1
-
secp384r1
public static final TlsConstants.NamedGroup secp384r1
-
secp521r1
public static final TlsConstants.NamedGroup secp521r1
-
x25519
public static final TlsConstants.NamedGroup x25519
-
x448
public static final TlsConstants.NamedGroup x448
-
ffdhe2048
public static final TlsConstants.NamedGroup ffdhe2048
-
ffdhe3072
public static final TlsConstants.NamedGroup ffdhe3072
-
ffdhe4096
public static final TlsConstants.NamedGroup ffdhe4096
-
ffdhe6144
public static final TlsConstants.NamedGroup ffdhe6144
-
ffdhe8192
public static final TlsConstants.NamedGroup ffdhe8192
-
-
Method Detail
-
values
public static TlsConstants.NamedGroup[] 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 (TlsConstants.NamedGroup c : TlsConstants.NamedGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TlsConstants.NamedGroup 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 namejava.lang.NullPointerException- if the argument is null
-
-