public enum SslVerifyMode extends java.lang.Enum<SslVerifyMode>
| Enum Constant and Description |
|---|
CA
Verify the CA and certificate without verifying that the hostname matches.
|
FULL
Full certificate verification.
|
INSECURE
DO NOT USE THIS IN PRODUCTION.
|
| Modifier and Type | Method and Description |
|---|---|
static SslVerifyMode |
valueOf(java.lang.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 INSECURE
No verification at all.
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(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 © 2025. All rights reserved.