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 certificate is pinned for purpose to communicate with peer. A pinned certificate overrides all other certificate verification.
certificate
purpose
peer
This call may block, see Gcr.trust_is_certificate_pinned_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
the peer for this pinned
Optional
a Gio.Cancellable
true if the certificate is pinned for the host and purpose
true
Check if
certificateis pinned forpurposeto communicate withpeer. A pinned certificate overrides all other certificate verification.This call may block, see Gcr.trust_is_certificate_pinned_async for the non-blocking version.
In the case of an error,
falseis also returned. Checkerrorto detect if an error occurred.