Allocate an ITAV with the given infoType and infoValue, taking ownership of both.

Synopsis

Declared in <openssl/cmp.h>

OSSL_CMP_ITAV*
OSSL_CMP_ITAV_create(
    ASN1_OBJECT* type,
    ASN1_TYPE* value);

Return Value

New ITAV on success, or NULL on error.

Parameters

Name

Description

type

infoType OID; ownership transfers to the ITAV.

value

infoValue as a generic ASN1_TYPE; ownership transfers to the ITAV.

Created with MrDocs