verify Blocking
fun verifyBlocking(domain: String, certificate: X509Certificate, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)
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, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)
Blocking version of verify with PEM string. Must not be called from the Android main thread.
Throws
if called from the Android main thread
fun verifyBlocking(domain: String, chain: List<X509Certificate>, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)
Blocking version of verify with a certificate chain. Must not be called from the Android main thread.
Throws
if called from the Android main thread