TLSConfig

expect class TLSConfig
actual class TLSConfig

TLS configuration.

Report a problem

actual class TLSConfig

Constructors

Link copied to clipboard
constructor(    random: SecureRandom,     certificates: List<CertificateAndKey>,     trustManager: X509TrustManager,     cipherSuites: List<<Error class: unknown class>>,     serverName: String?)
constructor()

Properties

Link copied to clipboard

: list of client certificate chains with private keys.

Link copied to clipboard
val cipherSuites: List<<Error class: unknown class>>

: list of allowed CipherSuites.

Link copied to clipboard

: SecureRandom to use in encryption.

Link copied to clipboard

: custom server name for TLS server name extension.

Link copied to clipboard

: Custom X509TrustManager to verify server authority. Use system by default.