TLSConfig

expect class TLSConfig
actual class TLSConfig

TLS configuration.

actual class TLSConfig

Constructors

Link copied to clipboard
fun TLSConfig(random: SecureRandom, certificates: List<CertificateAndKey>, trustManager: X509TrustManager, cipherSuites: List<CipherSuite>, serverName: String?)
Link copied to clipboard
fun TLSConfig()

Properties

Link copied to clipboard

: list of client certificate chains with private keys.

Link copied to clipboard

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