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