Check if certificate is pinned for purpose to communicate with peer.
A pinned certificate overrides all other certificate verification.
This call may block, see [func@Gcr.trust_is_certificate_pinned_async] for the non-blocking version.
In the case of an error, false is also returned. Check throws to detect if an error occurred.
| certificate |
a Certificate to check |
| purpose |
the purpose string |
| peer |
the peer for this pinned |
| cancellable |
|
true if the certificate is pinned for the host and purpose |