OSSL_CMP_SRV_cert_request_cb_t

Server callback type for processing IR/CR/KUR/P10CR certificate requests.

Synopsis

Declared in <openssl/cmp.h>

typedef OSSL_CMP_PKISI*(* OSSL_CMP_SRV_cert_request_cb_t)(OSSL_CMP_SRV_CTX*, OSSL_CMP_MSG const*, int, OSSL_CRMF_MSG const*, X509_REQ const*, X509**, stack_st_X509**, stack_st_X509**);

Return Value

PKIStatusInfo for the certResponse, allocated by the callback.

Parameters

NameDescription
srv_ctxCMP server context.
reqIncoming request message.
certReqIdCertificate request ID from the message body.
crmCRMF CertReqMsg, if present.
p10crPKCS#10 request, if present.
certOutReceives the issued certificate allocated by the callback.
chainOutReceives an optional chain allocated by the callback.
caPubsReceives optional caPubs allocated by the callback.