public async bool trust_is_certificate_pinned_async (Certificate certificate, string purpose, string peer, Cancellable? cancellable) throws Error
certificate is pinned for
purpose to communicate with
A pinned certificate overrides all other certificate verification.
When the operation is finished, callback will be called. You can then call [func@Gcr.trust_is_certificate_pinned_finish] to get the result of the operation.
a Certificate to check
the purpose string
the peer for this pinned
a TaskReadyCallback to call when the operation completes
the data to pass to callback function