public enum ServerTLSSettingsProtocol extends Enum<ServerTLSSettingsProtocol>
| Enum Constant and Description |
|---|
TLS_AUTO
Automatically choose the optimal TLS version.
|
TLSV1_0
TLS version 1.0
|
TLSV1_1
TLS version 1.1
|
TLSV1_2
TLS version 1.2
|
TLSV1_3
TLS version 1.3
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ServerTLSSettingsProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerTLSSettingsProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerTLSSettingsProtocol TLS_AUTO
public static final ServerTLSSettingsProtocol TLSV1_0
public static final ServerTLSSettingsProtocol TLSV1_1
public static final ServerTLSSettingsProtocol TLSV1_2
public static final ServerTLSSettingsProtocol TLSV1_3
public static ServerTLSSettingsProtocol[] values()
for (ServerTLSSettingsProtocol c : ServerTLSSettingsProtocol.values()) System.out.println(c);
public static ServerTLSSettingsProtocol 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 int value()
Copyright © 2017–2020 Red Hat. All rights reserved.