Add a pinned certificate for connections to peer for purpose.
A pinned certificate overrides all other certificate verification and should be used with care.
If the same pinned certificate already exists, then this operation does not add another, and succeeds without error.
This call may block, see [func@Gcr.trust_add_pinned_certificate_async] for the non-blocking version.
| certificate | |
| purpose |
the purpose string |
| peer |
the peer for this pinned certificate |
| cancellable |
|
true if the pinned certificate is recorded successfully |