Enum Class Authentication
- All Implemented Interfaces:
Serializable, Comparable<Authentication>, Constable
Enumeration of authentication types used in OpenSSL cipher specifications.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo authentication (i.e. use ADH or AECDH).Any authentication (TLS 1.3).Fixed DH authentication (kDHd or kDHr).DSS authentication.Fixed ECDH authentication (kECDHe or kECDHr).ECDSA authentication.EdDSA authentication.Fortezza authentication.GOST R 34.10-2001 authentication.GOST R 34.10-94 signature authentication.KRB5 authentication.ML-DSA authentication.PSK authentication.RSA authentication.Secure Remote Password authentication. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
RSA
RSA authentication. -
DSS
DSS authentication. -
aNULL
No authentication (i.e. use ADH or AECDH). -
DH
Fixed DH authentication (kDHd or kDHr). -
ECDH
Fixed ECDH authentication (kECDHe or kECDHr). -
KRB5
KRB5 authentication. -
ECDSA
ECDSA authentication. -
PSK
PSK authentication. -
GOST94
GOST R 34.10-94 signature authentication. -
GOST01
GOST R 34.10-2001 authentication. -
FZA
Fortezza authentication. -
SRP
Secure Remote Password authentication. -
EdDSA
EdDSA authentication. -
MLDSA
ML-DSA authentication. -
ANY
Any authentication (TLS 1.3).
-
-
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
-