Package org.mozilla.jss.ssl
Enum SSLKEAType
- java.lang.Object
-
- java.lang.Enum<SSLKEAType>
-
- org.mozilla.jss.ssl.SSLKEAType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SSLKEAType>
public enum SSLKEAType extends java.lang.Enum<SSLKEAType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ssl_kea_dhssl_kea_dh_pskssl_kea_ecdhssl_kea_ecdh_pskssl_kea_fortezzassl_kea_nullssl_kea_rsassl_kea_tls13_any
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static SSLKEATypevalueOf(int value)Returns the enum constant of this type with the specified name.static SSLKEATypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SSLKEAType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ssl_kea_null
public static final SSLKEAType ssl_kea_null
-
ssl_kea_rsa
public static final SSLKEAType ssl_kea_rsa
-
ssl_kea_dh
public static final SSLKEAType ssl_kea_dh
-
ssl_kea_fortezza
public static final SSLKEAType ssl_kea_fortezza
-
ssl_kea_ecdh
public static final SSLKEAType ssl_kea_ecdh
-
ssl_kea_ecdh_psk
public static final SSLKEAType ssl_kea_ecdh_psk
-
ssl_kea_dh_psk
public static final SSLKEAType ssl_kea_dh_psk
-
ssl_kea_tls13_any
public static final SSLKEAType ssl_kea_tls13_any
-
-
Method Detail
-
values
public static SSLKEAType[] 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 (SSLKEAType c : SSLKEAType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLKEAType 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
-
getValue
public int getValue()
-
valueOf
public static SSLKEAType 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 namejava.lang.NullPointerException- if the argument is null
-
-