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

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.

Created with MrDocs