Package org.wildfly.security.ssl
Enum Class Authentication
- All Implemented Interfaces:
Serializable,Comparable<Authentication>,Constable
The authentication type for SSL/TLS cipher suite selection.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDiffie-Hellman key-based authentication.DSS key-based authentication.Elliptic curve Diffie-Hellman key-based authentication.Elliptic curve DSA key-based authentication.Fortezza authentication.GOST R 34.10-2001 authentication.GOST R 34.10-94 authentication.Kerberos V5 authentication.No authentication (the cipher suite is anonymous).Pre-shared key (PSK) based authentication.RSA key-based authentication. -
Method Summary
Modifier and TypeMethodDescriptionbooleanin(Authentication... values) Determine whether this instance is equal to one of the given instances.booleanin(Authentication value1, Authentication value2) Determine whether this instance is equal to one of the given instances.booleanin(Authentication value1, Authentication value2, Authentication value3) Determine whether this instance is equal to one of the given instances.static booleanisFull(EnumSet<Authentication> authentications) Determine whether the given set is "full" (meaning it contains all possible values).static AuthenticationReturns the enum constant of this class with the specified name.static Authentication[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL
No authentication (the cipher suite is anonymous). -
RSA
RSA key-based authentication. -
DSS
DSS key-based authentication. -
DH
Diffie-Hellman key-based authentication. -
ECDH
Elliptic curve Diffie-Hellman key-based authentication. -
KRB5
Kerberos V5 authentication. -
ECDSA
Elliptic curve DSA key-based authentication. -
PSK
Pre-shared key (PSK) based authentication. -
GOST94
GOST R 34.10-94 authentication. -
GOST01
GOST R 34.10-2001 authentication. -
FZA
Fortezza authentication.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isFull
Determine whether the given set is "full" (meaning it contains all possible values).- Parameters:
authentications- the set- Returns:
trueif the set is full,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instancevalue3- the third instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
values- the values to match against- Returns:
trueif one of the instances matches this one,falseotherwise
-