the purpose string
the peer for this pinned certificate
Optionalcancellable: Gio.CancellableAdd a pinned certificate for communication with 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.
When the operation is finished, callback will be called. You can then call Gcr.trust_add_pinned_certificate_finish to get the result of the operation.
the purpose string
the peer for this pinned certificate
a Gio.AsyncReadyCallback to call when the operation completes
Add a pinned certificate for communication with 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.
When the operation is finished, callback will be called. You can then call Gcr.trust_add_pinned_certificate_finish to get the result of the operation.
the purpose string
the peer for this pinned certificate
Optionalcancellable: Gio.CancellableOptionalcallback: AsyncReadyCallback<Gcr.Certificate>a Gio.AsyncReadyCallback to call when the operation completes
Add a pinned certificate for communication with
peerforpurpose. 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.
When the operation is finished, callback will be called. You can then call Gcr.trust_add_pinned_certificate_finish to get the result of the operation.