Allocate a new ASN.1 value described by it using the default library context.

Synopsis

Declared in <openssl/asn1.h>

ASN1_VALUE*
ASN1_item_new(ASN1_ITEM const* it);

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.

Created with MrDocs