Package org.xnio
Enum SslClientAuthMode
- All Implemented Interfaces:
Serializable
,Comparable<SslClientAuthMode>
,java.lang.constant.Constable
The desired SSL client authentication mode for SSL channels in server mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSSL client authentication is not requested.SSL client authentication is requested but not required.SSL client authentication is required. -
Method Summary
Modifier and TypeMethodDescriptionstatic SslClientAuthMode
Returns the enum constant of this type with the specified name.static SslClientAuthMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_REQUESTED
SSL client authentication is not requested. -
REQUESTED
SSL client authentication is requested but not required. -
REQUIRED
SSL client authentication is required.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-