Allocate a PKIStatusInfo with status, optional failInfo, and statusString text.
Declared in <openssl/cmp.h>
OSSL_CMP_PKISI*
OSSL_CMP_STATUSINFO_new(
int status,
int fail_info,
char const* text);
New PKIStatusInfo, or NULL on error.
| Name | Description |
|---|---|
| status | PKIStatus value (OSSL_CMP_PKISTATUS_*). |
| fail_info | PKIFailureInfo bit field, or 0 if none. |
| text | Optional status detail string copied into statusString, or NULL. |