[#ASN1_item_d2i] = ASN1_item_d2i :mrdocs: Decode a DER‐encoded ASN.1 value using an item descriptor (default library context). == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_VALUE.adoc[ASN1_VALUE]* ASN1_item_d2i( xref:ASN1_VALUE.adoc[ASN1_VALUE]** val, unsigned char const** in, long len, xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it); ---- == Description Equivalent to ASN1_item_d2i_ex() with a NULL library context and property query. == Return Value Decoded ASN1_VALUE, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *val* | Optional destination pointer updated to the result, or NULL. | *in* | Address of a pointer to the DER input; advanced past the decoded value. | *len* | Number of bytes available at *`in.` | *it* | ASN.1 item descriptor for the type to decode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#