TypeScript API Documentation for GCR-4
API Version: 4
Library Version: 4.4.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
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.
certificate
purpose
This call may block, see Gcr.trust_is_certificate_anchored_async for the non-blocking version.
In the case of an error, false is also returned. Check error to detect if an error occurred.
false
error
a Gcr.Certificate to check
the purpose string
Optional
a Gio.Cancellable
true if the certificate is a trust anchor
true
Check if the
certificateis a trust anchor for the givenpurpose. 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 Gcr.trust_is_certificate_anchored_async for the non-blocking version.
In the case of an error,
falseis also returned. Checkerrorto detect if an error occurred.