TlsInfo

data class TlsInfo(protocol: String, cipherSuite: String, keyExchangeMechanism: String?, certificateChain: List<X509Certificate>)

Model representing the metadata of a negotiated TLS session

Constructors

Link copied to clipboard
fun TlsInfo(protocol: String, cipherSuite: String, keyExchangeMechanism: String?, certificateChain: List<X509Certificate>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val certificateChain: List<X509Certificate>

Peer certificate chain

Link copied to clipboard
val cipherSuite: String

Negotiated cipher suite

Link copied to clipboard
val keyExchangeMechanism: String?

Negotiated key exchange mechanism if applicable Deprecated in TLSv1.3

Link copied to clipboard
val protocol: String

Name of the TLS protocol, e.g. TLSv1.3