[#ASN1_i2d_fp] = ASN1_i2d_fp :mrdocs: Encode an ASN.1 value to a FILE using a type‐specific i2d function. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_i2d_fp( xref:i2d_of_void.adoc[i2d_of_void]* i2d, FILE* out, void const* x); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *i2d* | Encoder such as i2d_X509. | *out* | Output FILE that receives the DER encoding. | *x* | Object to encode; must match the type expected by `i2d.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#