public enum SslVerifyMode extends Enum<SslVerifyMode>
| Enum Constant and Description |
|---|
CA
Verify the CA and certificate without verifying that the hostname matches.
|
FULL
Full certificate verification.
|
NONE
No verification at all.
|
| Modifier and Type | Method and Description |
|---|---|
static SslVerifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslVerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslVerifyMode NONE
public static final SslVerifyMode CA
public static final SslVerifyMode FULL
public static SslVerifyMode[] values()
for (SslVerifyMode c : SslVerifyMode.values()) System.out.println(c);
public static SslVerifyMode 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 © 2023 lettuce.io. All rights reserved.