[#OSSL_CMP_exec_certreq] = OSSL_CMP_exec_certreq :mrdocs: Execute a CMP certificate request transaction (IR/CR/KUR/P10CR). == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* OSSL_CMP_exec_certreq( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, int req_type, xref:OSSL_CRMF_MSG.adoc[OSSL_CRMF_MSG] const* crm); ---- == Return Value Newly enrolled certificate on success, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP client context. | *req_type* | Body type (OSSL_CMP_IR, OSSL_CMP_CR, OSSL_CMP_KUR, or OSSL_CMP_P10CR). | *crm* | Optional CRMF message for IR/CR/KUR; NULL to build from context fields. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#