public enum ClientAuth extends Enum<ClientAuth>
| Enum Constant and Description |
|---|
NONE
不需要客户端验证
|
OPTIONAL
请求的客户端验证
如果设置了此选项并且客户端选择不提供其自身的验证信息,则协商将会继续
|
REQUIRE
必须的客户端验证
如果设置了此选项并且客户端选择不提供其自身的验证信息,则协商将会停止且引擎将开始它的关闭过程
|
| Modifier and Type | Method and Description |
|---|---|
static ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAuth NONE
public static final ClientAuth OPTIONAL
public static final ClientAuth REQUIRE
public static ClientAuth[] values()
for (ClientAuth c : ClientAuth.values()) System.out.println(c);
public static ClientAuth valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.