Allocate an ITAV with the given infoType and infoValue, taking ownership of both.
Declared in <openssl/cmp.h>
OSSL_CMP_ITAV*
OSSL_CMP_ITAV_create(
ASN1_OBJECT* type,
ASN1_TYPE* value);
New ITAV on success, or NULL on error.
| Name | Description |
|---|---|
| type | infoType OID; ownership transfers to the ITAV. |
| value | infoValue as a generic ASN1_TYPE; ownership transfers to the ITAV. |