Add a pinned
certificate for connections to
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 trust_add_pinned_certificate_async for the non-blocking version.
the purpose string
the peer for this pinned certificate
true if the pinned certificate is recorded successfully