Enum Authentication
- java.lang.Object
-
- java.lang.Enum<Authentication>
-
- org.apache.tomcat.util.net.openssl.ciphers.Authentication
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Authentication>
public enum Authentication extends java.lang.Enum<Authentication>
Enumeration of authentication types used in OpenSSL cipher specifications.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description aNULLNo authentication (i.e. use ADH or AECDH).ANYAny authentication (TLS 1.3).DHFixed DH authentication (kDHd or kDHr).DSSDSS authentication.ECDHFixed ECDH authentication (kECDHe or kECDHr).ECDSAECDSA authentication.EdDSAEdDSA authentication.FZAFortezza authentication.GOST01GOST R 34.10-2001 authentication.GOST94GOST R 34.10-94 signature authentication.KRB5KRB5 authentication.MLDSAML-DSA authentication.PSKPSK authentication.RSARSA authentication.SRPSecure Remote Password authentication.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationvalueOf(java.lang.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
-
RSA
public static final Authentication RSA
RSA authentication.
-
DSS
public static final Authentication DSS
DSS authentication.
-
aNULL
public static final Authentication aNULL
No authentication (i.e. use ADH or AECDH).
-
DH
public static final Authentication DH
Fixed DH authentication (kDHd or kDHr).
-
ECDH
public static final Authentication ECDH
Fixed ECDH authentication (kECDHe or kECDHr).
-
KRB5
public static final Authentication KRB5
KRB5 authentication.
-
ECDSA
public static final Authentication ECDSA
ECDSA authentication.
-
PSK
public static final Authentication PSK
PSK authentication.
-
GOST94
public static final Authentication GOST94
GOST R 34.10-94 signature authentication.
-
GOST01
public static final Authentication GOST01
GOST R 34.10-2001 authentication.
-
FZA
public static final Authentication FZA
Fortezza authentication.
-
SRP
public static final Authentication SRP
Secure Remote Password authentication.
-
EdDSA
public static final Authentication EdDSA
EdDSA authentication.
-
MLDSA
public static final Authentication MLDSA
ML-DSA authentication.
-
ANY
public static final Authentication ANY
Any authentication (TLS 1.3).
-
-
Method Detail
-
values
public 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
-
valueOf
public static Authentication 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
-
-