Allocate a new ASN.1 value described by it, with library context for algorithm fetches.

Synopsis

Declared in <openssl/asn1.h>

ASN1_VALUE*
ASN1_item_new_ex(
    ASN1_ITEM const* it,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

Newly allocated ASN1_VALUE, or NULL on error; free with ASN1_item_free.

Parameters

Name

Description

it

ASN.1 item template for the type to create.

libctx

Library context for any algorithm fetches during construction, or NULL for the default.

propq

Property query for those fetches, or NULL.

Created with MrDocs