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 trust_is_certificate_pinned_async.end 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