OCSP_RESPID_match_ex

Test whether a ResponderID matches cert by name or key hash.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_RESPID_match_ex(
    OCSP_RESPID* respid,
    X509* cert,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

1 if respid matches cert, or 0 otherwise.

Parameters

NameDescription
respidResponderID to compare.
certCandidate responder certificate.
libctxLibrary context for key-hash digests, or NULL for the default.
propqProperty query for provider selection, or NULL.