[#ASN1_item_i2d_fp] = ASN1_item_i2d_fp :mrdocs: Encode an ASN.1 item to DER and write the encoding to a FILE stream. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_item_i2d_fp( xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it, FILE* out, void const* x); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *it* | ASN.1 item descriptor for the type of `x.` | *out* | Output stream that receives the DER encoding. | *x* | Value to encode (type implied by `it).` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#