CustomCertManager

class CustomCertManager @JvmOverloads constructor(certStore: CertStore, settings: SettingsProvider) : X509TrustManager

TrustManager to handle custom certificates.

Parameters

certStore

certificate store with (un)trusted certificates

settings

settings provider to get settings from

Constructors

Link copied to clipboard
constructor(certStore: CertStore, settings: SettingsProvider)

Types

Link copied to clipboard
inner class HostnameVerifier(defaultHostnameVerifier: HostnameVerifier? = null) : HostnameVerifier

A HostnameVerifier that allows users to explicitly accept untrusted and non-matching (bad hostname) certificates.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun checkClientTrusted(chain: Array<X509Certificate>?, authType: String?)
Link copied to clipboard
open override fun checkServerTrusted(chain: Array<X509Certificate>, authType: String)

Checks whether a certificate is trusted. Allows user to explicitly accept untrusted certificates.

Link copied to clipboard