public static enum TlsContextOptions.TlsVersions extends Enum<TlsContextOptions.TlsVersions>
Enum Constant and Description |
---|
SSLv3
SSL v3.
|
TLS_VER_SYS_DEFAULTS
Use whatever the system default is.
|
TLSv1 |
TLSv1_1
TLS 1.1
|
TLSv1_2
TLS 1.2
|
TLSv1_3
TLS 1.3
|
Modifier and Type | Method and Description |
---|---|
static TlsContextOptions.TlsVersions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsContextOptions.TlsVersions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsContextOptions.TlsVersions SSLv3
public static final TlsContextOptions.TlsVersions TLSv1
public static final TlsContextOptions.TlsVersions TLSv1_1
public static final TlsContextOptions.TlsVersions TLSv1_2
public static final TlsContextOptions.TlsVersions TLSv1_3
public static final TlsContextOptions.TlsVersions TLS_VER_SYS_DEFAULTS
public static TlsContextOptions.TlsVersions[] values()
for (TlsContextOptions.TlsVersions c : TlsContextOptions.TlsVersions.values()) System.out.println(c);
public static TlsContextOptions.TlsVersions 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.