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 [func@Gcr.trust_is_certificate_anchored_finish] to get the result of the operation.
| 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 |