OSSL_CMP_SRV_error_cb_t

Server callback invoked when constructing an error message response.

Synopsis

Declared in <openssl/cmp.h>

typedef void(* OSSL_CMP_SRV_error_cb_t)(OSSL_CMP_SRV_CTX*, OSSL_CMP_MSG const*, OSSL_CMP_PKISI const*, ASN1_INTEGER const*, OSSL_CMP_PKIFREETEXT const*);

Parameters

NameDescription
srv_ctxCMP server context.
reqRequest that triggered the error, if available.
statusInfoPKIStatusInfo being sent.
errorCodeOptional error code integer from the error message body.
errDetailsOptional free-text error details.