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 [[email protected]_is_certificate_pinned_finish] to get the result of the operation.
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 |