Decode the DER content of an OCTET STRING / ASN1_STRING using item it.

Synopsis

Declared in <openssl/asn1.h>

void*
ASN1_item_unpack(
    ASN1_STRING const* oct,
    ASN1_ITEM const* it);

Return Value

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

Parameters

Name

Description

oct

String whose content octets are treated as DER input.

it

ASN.1 item descriptor for the type to decode.

Created with MrDocs