[#OSSL_CMP_SRV_cert_request_cb_t]
= OSSL&lowbar;CMP&lowbar;SRV&lowbar;cert&lowbar;request&lowbar;cb&lowbar;t
:mrdocs:

Server callback type for processing IR&sol;CR&sol;KUR&sol;P10CR certificate requests&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef xref:OSSL_CMP_PKISI.adoc[OSSL&lowbar;CMP&lowbar;PKISI]*(* OSSL&lowbar;CMP&lowbar;SRV&lowbar;cert&lowbar;request&lowbar;cb&lowbar;t)(xref:OSSL_CMP_SRV_CTX.adoc[OSSL&lowbar;CMP&lowbar;SRV&lowbar;CTX]*, xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG] const*, int, xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG] const*, xref:X509_REQ.adoc[X509&lowbar;REQ] const*, xref:X509.adoc[X509]**, xref:stack_st_X509.adoc[stack&lowbar;st&lowbar;X509]**, xref:stack_st_X509.adoc[stack&lowbar;st&lowbar;X509]**);
----

== Return Value

PKIStatusInfo for the certResponse, allocated by the callback&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srv&lowbar;ctx*
| CMP server context&period;
| *req*
| Incoming request message&period;
| *certReqId*
| Certificate request ID from the message body&period;
| *crm*
| CRMF CertReqMsg, if present&period;
| *p10cr*
| PKCS&num;10 request, if present&period;
| *certOut*
| Receives the issued certificate allocated by the callback&period;
| *chainOut*
| Receives an optional chain allocated by the callback&period;
| *caPubs*
| Receives optional caPubs allocated by the callback&period;
|===


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