trust_is_certificate_anchored_async
Description:
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 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.
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.
Parameters:
certificate |
a Certificate to check |
purpose |
the purpose string |
cancellable | |
callback |
a TaskReadyCallback to call when the operation completes |
user_data |
the data to pass to callback function |
Namespace: Gcr
Package: gcr-3