Function

Gcr-4Gcrtrust_is_certificate_pinned

  • Check if certificate is pinned for purpose to communicate with peer. A pinned certificate overrides all other certificate verification.

    This call may block, see Gcr.trust_is_certificate_pinned_async for the non-blocking version.

    In the case of an error, false is also returned. Check error to detect if an error occurred.

    Parameters

    Returns boolean

    true if the certificate is pinned for the host and purpose