public enum ETLSConfigurationMode extends Enum<ETLSConfigurationMode> implements com.helger.commons.id.IHasID<String>, ITLSConfigurationMode
| Enum Constant and Description |
|---|
INTERMEDIATE
For services that don't need compatibility with legacy clients (mostly
WinXP), but still need to support a wide range of clients, this configuration
is recommended.
|
MODERN
For services that don't need backward compatibility, the parameters below
provide a higher level of security.
|
OLD
This is the old ciphersuite that works with all clients back to Windows
XP/IE6.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<String> |
getAllCipherSuites() |
String[] |
getAllCipherSuitesAsArray() |
com.helger.commons.collection.impl.ICommonsList<String> |
getAllTLSVersionIDs() |
String[] |
getAllTLSVersionIDsAsArray() |
com.helger.commons.collection.impl.ICommonsList<ETLSVersion> |
getAllTLSVersions() |
static ETLSConfigurationMode |
getFromIDOrNull(String sID) |
String |
getID() |
static ETLSConfigurationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETLSConfigurationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETLSConfigurationMode MODERN
public static final ETLSConfigurationMode INTERMEDIATE
public static final ETLSConfigurationMode OLD
public static ETLSConfigurationMode[] values()
for (ETLSConfigurationMode c : ETLSConfigurationMode.values()) System.out.println(c);
public static ETLSConfigurationMode 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getAllCipherSuites()
getAllCipherSuites in interface ITLSConfigurationModenull.@Nonnull @ReturnsMutableCopy public String[] getAllCipherSuitesAsArray()
getAllCipherSuitesAsArray in interface ITLSConfigurationModenull if
no cipher suite is defined.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<ETLSVersion> getAllTLSVersions()
getAllTLSVersions in interface ITLSConfigurationModenull.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getAllTLSVersionIDs()
getAllTLSVersionIDs in interface ITLSConfigurationModenull.@Nonnull @ReturnsMutableCopy public String[] getAllTLSVersionIDsAsArray()
getAllTLSVersionIDsAsArray in interface ITLSConfigurationModenull if no TLS versions are defined.@Nullable public static ETLSConfigurationMode getFromIDOrNull(@Nullable String sID)
Copyright © 2016–2019 Philip Helger. All rights reserved.