expect class TLSConfig
TLSConfig(random: SecureRandom, certificates: List<CertificateAndKey>, trustManager: X509TrustManager, cipherSuites: List<CipherSuite>, serverName: String?)
TLS configuration. |
val certificates: List<CertificateAndKey>
: list of client certificate chains with private keys. |
|
val cipherSuites: List<CipherSuite>
: list of allowed CipherSuites. |
|
val random: SecureRandom
: SecureRandom to use in encryption. |
|
val serverName: String?
: custom server name for TLS server name extension. |
|
val trustManager: X509TrustManager
: Custom X509TrustManager to verify server authority. Use system by default. |