fetchCertificateBlocking

fun fetchCertificateBlocking(host: String, port: Int = 443, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS): String

Blocking version of fetchCertificate. Must not be called from the Android main thread.

Throws

if called from the Android main thread