Package org.mozilla.jss.ssl
Enum SSLAuthType
- java.lang.Object
-
- java.lang.Enum<SSLAuthType>
-
- org.mozilla.jss.ssl.SSLAuthType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SSLAuthType>
public enum SSLAuthType extends java.lang.Enum<SSLAuthType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ssl_auth_dsa
ssl_auth_ecdh_ecdsa
ssl_auth_ecdh_rsa
ssl_auth_ecdsa
ssl_auth_kea
ssl_auth_null
ssl_auth_psk
ssl_auth_rsa_decrypt
ssl_auth_rsa_pss
ssl_auth_rsa_sign
ssl_auth_tls13_any
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static SSLAuthType
valueOf(int value)
Returns the enum constant of this type with the specified name.static SSLAuthType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SSLAuthType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ssl_auth_null
public static final SSLAuthType ssl_auth_null
-
ssl_auth_rsa_decrypt
public static final SSLAuthType ssl_auth_rsa_decrypt
-
ssl_auth_dsa
public static final SSLAuthType ssl_auth_dsa
-
ssl_auth_kea
public static final SSLAuthType ssl_auth_kea
-
ssl_auth_ecdsa
public static final SSLAuthType ssl_auth_ecdsa
-
ssl_auth_ecdh_rsa
public static final SSLAuthType ssl_auth_ecdh_rsa
-
ssl_auth_ecdh_ecdsa
public static final SSLAuthType ssl_auth_ecdh_ecdsa
-
ssl_auth_rsa_sign
public static final SSLAuthType ssl_auth_rsa_sign
-
ssl_auth_rsa_pss
public static final SSLAuthType ssl_auth_rsa_pss
-
ssl_auth_psk
public static final SSLAuthType ssl_auth_psk
-
ssl_auth_tls13_any
public static final SSLAuthType ssl_auth_tls13_any
-
-
Method Detail
-
values
public static SSLAuthType[] 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 (SSLAuthType c : SSLAuthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLAuthType 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 SSLAuthType 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
-
-