public async bool trust_is_certificate_anchored_async (Certificate certificate, string purpose, Cancellable? cancellable) throws Error
Check if the
certificate is a trust anchor for the given
A trust anchor is used to verify the signatures on other certificates when verifying a certificate chain. Also known as a trusted certificate authority.
When the operation is finished, callback will be called. You can then call trust_is_certificate_anchored_async.end to get the result of the operation.
a Certificate to check
the purpose string
a TaskReadyCallback to call when the operation completes
the data to pass to callback function