Package org.wildfly.security.ssl
Enum Authentication
- java.lang.Object
- 
- java.lang.Enum<Authentication>
- 
- org.wildfly.security.ssl.Authentication
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Authentication>
 
 public enum Authentication extends Enum<Authentication> The authentication type for SSL/TLS cipher suite selection.- Author:
- David M. Lloyd
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DHDiffie-Hellman key-based authentication.DSSDSS key-based authentication.ECDHElliptic curve Diffie-Hellman key-based authentication.ECDSAElliptic curve DSA key-based authentication.FZAFortezza authentication.GOST01GOST R 34.10-2001 authentication.GOST94GOST R 34.10-94 authentication.KRB5Kerberos V5 authentication.NULLNo authentication (the cipher suite is anonymous).PSKPre-shared key (PSK) based authentication.RSARSA key-based authentication.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanin(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 AuthenticationvalueOf(String name)Returns the enum constant of this type with the specified name.static Authentication[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NULLpublic static final Authentication NULL No authentication (the cipher suite is anonymous).
 - 
RSApublic static final Authentication RSA RSA key-based authentication.
 - 
DSSpublic static final Authentication DSS DSS key-based authentication.
 - 
DHpublic static final Authentication DH Diffie-Hellman key-based authentication.
 - 
ECDHpublic static final Authentication ECDH Elliptic curve Diffie-Hellman key-based authentication.
 - 
KRB5public static final Authentication KRB5 Kerberos V5 authentication.
 - 
ECDSApublic static final Authentication ECDSA Elliptic curve DSA key-based authentication.
 - 
PSKpublic static final Authentication PSK Pre-shared key (PSK) based authentication.
 - 
GOST94public static final Authentication GOST94 GOST R 34.10-94 authentication.
 - 
GOST01public static final Authentication GOST01 GOST R 34.10-2001 authentication.
 - 
FZApublic static final Authentication FZA Fortezza authentication.
 
- 
 - 
Method Detail- 
valuespublic static Authentication[] 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 (Authentication c : Authentication.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Authentication valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
isFullpublic static boolean isFull(EnumSet<Authentication> authentications) Determine whether the given set is "full" (meaning it contains all possible values).- Parameters:
- authentications- the set
- Returns:
- trueif the set is full,- falseotherwise
 
 - 
inpublic boolean in(Authentication value1, Authentication value2) Determine whether this instance is equal to one of the given instances.- Parameters:
- value1- the first instance
- value2- the second instance
- Returns:
- trueif one of the instances matches this one,- falseotherwise
 
 - 
inpublic boolean in(Authentication value1, Authentication value2, Authentication value3) Determine whether this instance is equal to one of the given instances.- Parameters:
- value1- the first instance
- value2- the second instance
- value3- the third instance
- Returns:
- trueif one of the instances matches this one,- falseotherwise
 
 - 
inpublic boolean in(Authentication... values) 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
 
 
- 
 
-