public static enum Tls.ClientAuthMode extends Enum<Tls.ClientAuthMode>
| Enum Constant and Description |
|---|
NONE
Clients are not allowed to send X509 client certificates
|
OPTIONAL
Clients can send X509 client certificates but they're not required to do so
|
REQUIRED
Clients must send X509 client certificates
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClientAuthMode() |
String |
toString() |
static Tls.ClientAuthMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tls.ClientAuthMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tls.ClientAuthMode NONE
public static final Tls.ClientAuthMode OPTIONAL
public static final Tls.ClientAuthMode REQUIRED
public static Tls.ClientAuthMode[] values()
for (Tls.ClientAuthMode c : Tls.ClientAuthMode.values()) System.out.println(c);
public static Tls.ClientAuthMode 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 nullpublic String getClientAuthMode()
public String toString()
toString in class Enum<Tls.ClientAuthMode>Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.