Check if the certificate
is a trust anchor for the given purpose
.
A trust anchor is used to verify the signatures on other certificates when verifying a certificate chain. Also known as a trusted certificate authority.
This call may block, see [[email protected]_is_certificate_anchored_async] for the non-blocking version.
In the case of an error, false is also returned. Check throws to detect if an error occurred.
certificate |
a Certificate to check |
purpose |
the purpose string |
cancellable |
a Cancellable |
true if the certificate is a trust anchor |