verify

abstract fun verify(certificate: Array<Byte>): Boolean

Implementations of verify allow applications to provide custom logic for verifying certificates. This is not required by default and should be used with care.

Return

True if the certificate is verified and trusted else false.

Parameters

certificate

A byte array containing a DER encoded X509 certificate.