Package software.amazon.awssdk.crt.io
Enum TlsContextOptions.TlsVersions
java.lang.Object
java.lang.Enum<TlsContextOptions.TlsVersions>
software.amazon.awssdk.crt.io.TlsContextOptions.TlsVersions
- All Implemented Interfaces:
Serializable
,Comparable<TlsContextOptions.TlsVersions>
- Enclosing class:
- TlsContextOptions
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.
-
Enum Constant Details
-
SSLv3
SSL v3. This should almost never be used. -
TLSv1
-
TLSv1_1
TLS 1.1 -
TLSv1_2
TLS 1.2 -
TLSv1_3
TLS 1.3 -
TLS_VER_SYS_DEFAULTS
Use whatever the system default is. This is usually the best option, as it will be automatically updated as the underlying OS or platform changes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-