OSSL_CRMF_MSGS_verify_popo

Verify proof-of-possession on a CRMF CertReqMessages sequence.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSGS_verify_popo(
    OSSL_CRMF_MSGS const* reqs,
    int rid,
    int acceptRAVerified,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

1 if POPO verifies, 0 if not, or -1 on error.

Parameters

NameDescription
reqsCertReqMessages to verify.
ridcertReqId of the message to verify, or -1 to verify all messages.
acceptRAVerifiedNon-zero to accept POPO raVerified without further checks.
libctxLibrary context for algorithm fetching, or NULL for the default.
propqProperty query for algorithm fetching, or NULL.