verify

suspend fun verify(domain: String, certificate: X509Certificate, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)

Verifies a certificate against the default TrustPin instance.

See also


suspend fun verify(domain: String, certificate: String, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)

Verifies a PEM-encoded certificate against the default TrustPin instance.

See also


suspend fun verify(domain: String, chain: List<X509Certificate>, timeout: Long = TrustPinConstants.DEFAULT_OPERATION_TIMEOUT_MS)

Verifies a certificate chain against the default TrustPin instance.

See also