verifyBlocking

fun verifyBlocking(domain: String, certificate: X509Certificate)(source)

Blocking version of verify with X.509 certificate. Must not be called from the Android main thread.

Throws

if called from the Android main thread


fun verifyBlocking(domain: String, certificate: String)(source)

Blocking version of verify with PEM string. Must not be called from the Android main thread.

Throws

if called from the Android main thread