TrustStore.isTrusted

bool isTrusted(X509Certificate cert)

Checks if a certificate is in the trust store.

Parameters

certThe certificate to check.

Returns

True if the certificate matches a trusted root by

subject name and public key.