[#OSSL_CRMF_MSG_get_certReqId]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;get&lowbar;certReqId
:mrdocs:

Return the certReqId from a CRMF CertReqMsg&period;

== Synopsis

Declared in `&lt;openssl&sol;crmf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CRMF&lowbar;MSG&lowbar;get&lowbar;certReqId(xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG] const* crm);
----

== Return Value

Certificate request ID as a nonnegative integer, or &hyphen;1 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *crm*
| CertReqMsg to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
