Skip to content

//okhttp/okhttp3/TlsVersion

TlsVersion

[common]\ expect enum TlsVersion : Enum<TlsVersion>

Versions of TLS that can be offered when negotiating a secure socket.

[jvm]\ actual enum TlsVersion : Enum<TlsVersion>

Versions of TLS that can be offered when negotiating a secure socket. See javax.net.ssl.SSLSocket.setEnabledProtocols.

[nonJvm]\ actual enum TlsVersion : Enum<TlsVersion>

Entries

TLS_1_3 [common, jvm, nonJvm]
TLS_1_3
TLS_1_2 [common, jvm, nonJvm]
TLS_1_2
TLS_1_1 [common, jvm, nonJvm]
TLS_1_1
TLS_1_0 [common, jvm, nonJvm]
TLS_1_0
SSL_3_0 [common, jvm, nonJvm]
SSL_3_0

Types

Name Summary
Companion [jvm]
object Companion

Properties

Name Summary
javaName [jvm]
@get:JvmName(name = "javaName")
val javaName: String
name [common]
val name: String
[jvm]
val name: String
[nonJvm]
val name: String
ordinal [common]
val ordinal: Int
[jvm]
val ordinal: Int
[nonJvm]
val ordinal: Int