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.
Add a pinned
certificatefor connections topeerforpurpose. 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 Gcr.trust_add_pinned_certificate_async for the non-blocking version.