[#OSSL_CMP_CTX_setup_CRM] = OSSL_CMP_CTX_setup_CRM :mrdocs: Build a CRMF CertReqMsg from fields stored on the CMP context. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OSSL_CRMF_MSG.adoc[OSSL_CRMF_MSG]* OSSL_CMP_CTX_setup_CRM( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, int for_KUR, int rid); ---- == Return Value New CRMF message on success, or NULL on error; caller must free. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context with template and POPO settings. | *for_KUR* | Non‐zero when building a Key Update Request message. | *rid* | Certificate request ID to assign. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#