public static enum SslDomain.VerifyMode extends java.lang.Enum<SslDomain.VerifyMode>
ANONYMOUS_PEER is configured by default.| Enum Constant and Description |
|---|
ANONYMOUS_PEER
does not require a valid certificate, and permits use of ciphers that
do not provide authentication
|
VERIFY_PEER
will only connect to those peers that provide a valid identifying certificate signed
by a trusted CA and are using an authenticated cipher
|
VERIFY_PEER_NAME |
| Modifier and Type | Method and Description |
|---|---|
static SslDomain.VerifyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SslDomain.VerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslDomain.VerifyMode VERIFY_PEER
public static final SslDomain.VerifyMode VERIFY_PEER_NAME
public static final SslDomain.VerifyMode ANONYMOUS_PEER
public static SslDomain.VerifyMode[] values()
for (SslDomain.VerifyMode c : SslDomain.VerifyMode.values()) System.out.println(c);
public static SslDomain.VerifyMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014 FuseSource, Corp.. All Rights Reserved.