OSSL_CMP_CTX_setup_CRM

Build a CRMF CertReqMsg from fields stored on the CMP context.

Synopsis

Declared in <openssl/cmp.h>

OSSL_CRMF_MSG*
OSSL_CMP_CTX_setup_CRM(
    OSSL_CMP_CTX* ctx,
    int for_KUR,
    int rid);

Return Value

New CRMF message on success, or NULL on error; caller must free.

Parameters

NameDescription
ctxCMP context with template and POPO settings.
for_KURNon-zero when building a Key Update Request message.
ridCertificate request ID to assign.