ASN1_TYPE_unpack_sequence

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

NameDescription
itASN.1 item describing the expected SEQUENCE type.
tASN1_TYPE whose value holds SEQUENCE octets (typically V_ASN1_SEQUENCE).