trust_is_certificate_pinned_async


Description:

public async bool trust_is_certificate_pinned_async (Certificate certificate, string purpose, string peer, Cancellable? cancellable) throws Error

Check if certificate is pinned for purpose to communicate with peer.

A pinned certificate overrides all other certificate verification.

When the operation is finished, callback will be called. You can then call trust_is_certificate_pinned_async.end to get the result of the operation.

Parameters:

certificate

a Certificate to check

purpose

the purpose string

peer

the peer for this pinned

cancellable

a Cancellable

callback

a TaskReadyCallback to call when the operation completes

user_data

the data to pass to callback function


Namespace: Gcr
Package: gcr-3