Decode the DER content of an OCTET STRING / ASN1_STRING using item it.
Declared in <openssl/asn1.h>
void*
ASN1_item_unpack(
ASN1_STRING const* oct,
ASN1_ITEM const* it);
Newly allocated typed value, or NULL on error; free with ASN1_item_free.
| Name | Description |
|---|---|
| oct | String whose content octets are treated as DER input. |
| it | ASN.1 item descriptor for the type to decode. |