Enum TlsVersion
- All Implemented Interfaces:
Serializable,Comparable<TlsVersion>
A TLS protocol version that
AwsCrtHttpClient and AwsCrtAsyncHttpClient uses.
Mac-Only TLS Behavior: the default CRT TLS backend on macOS (Apple Secure Transport) does not
support TLS 1.3. To use TLS_1_3 on macOS you must set the environment variable
AWS_CRT_USE_NON_FIPS_TLS_13 to any non-empty value at process startup so the CRT selects its s2n-tls backend. See
Mac-Only TLS Behavior for more details.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe underlying OS/platform + CRT TLS default.TLS 1.3. -
Method Summary
Modifier and TypeMethodDescriptionstatic TlsVersionReturns the enum constant of this type with the specified name.static TlsVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TLS_1_3
TLS 1.3. -
SYSTEM_DEFAULT
The underlying OS/platform + CRT TLS default.
-
-
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
-