TlsVersion

enum TlsVersion : ProtocolMessageEnum
Enumerates TLS versions known to this protocol suite.
Protobuf enum elide.crypto.TlsVersion

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Indicates a protocol-incompatible enumeration value, or that TLS is not active.
TLS_INACTIVE = 0;
Link copied to clipboard
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE
Indicates that TLS 1.0 is active.
TLSv1_0 = 1;
Link copied to clipboard
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE
Indicates that TLS 1.1 is active.
TLSv1_1 = 2;
Link copied to clipboard
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE
Indicates that TLS 1.2 is active.
TLSv1_2 = 3;
Link copied to clipboard
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE
Indicates that TLS 1.3 is active.
TLSv1_3 = 4;

Functions

Link copied to clipboard
open fun forNumber(value: Int): TlsVersion
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<TlsVersion>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): TlsVersion
open fun valueOf(value: Int): TlsVersion

open fun valueOf(name: String): TlsVersion

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.)

Link copied to clipboard
open fun values(): Array<TlsVersion>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.