OSSL_CMP_STATUSINFO_new

Allocate a PKIStatusInfo with status, optional failInfo, and statusString text.

Synopsis

Declared in <openssl/cmp.h>

OSSL_CMP_PKISI*
OSSL_CMP_STATUSINFO_new(
    int status,
    int fail_info,
    char const* text);

Return Value

New PKIStatusInfo, or NULL on error.

Parameters

NameDescription
statusPKIStatus value (OSSL_CMP_PKISTATUS_*).
fail_infoPKIFailureInfo bit field, or 0 if none.
textOptional status detail string copied into statusString, or NULL.