checkServerTrusted

open override fun checkServerTrusted(chain: Array<X509Certificate>, authType: String)

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

Parameters

chain

certificate chain to check

authType

authentication type (ignored)

Throws

in case of an untrusted or questionable certificate