Decode the SEQUENCE contents of an ASN1_TYPE into a typed structure.

Synopsis

Declared in <openssl/asn1.h>

void*
ASN1_TYPE_unpack_sequence(
    ASN1_ITEM const* it,
    ASN1_TYPE const* t);

Return Value

Newly allocated structure of the type described by it, or NULL on error.

Parameters

Name

Description

it

ASN.1 item describing the expected SEQUENCE type.

t

ASN1_TYPE whose value holds SEQUENCE octets (typically V_ASN1_SEQUENCE).

Created with MrDocs