Decode DER from an ASN1_STRING using it, with library context for algorithm fetches.
Declared in <openssl/asn1.h>
void*
ASN1_item_unpack_ex(
ASN1_STRING const* oct,
ASN1_ITEM const* it,
OSSL_LIB_CTX* libctx,
char const* propq);
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. |
| libctx | Library context for algorithm fetches, or NULL for the default. |
| propq | Property query for algorithm fetches, or NULL. |