[#ASN1_item_print]
= ASN1&lowbar;item&lowbar;print
:mrdocs:

Pretty&hyphen;print an ASN&period;1 value described by `it` to a BIO&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;item&lowbar;print(
    xref:BIO.adoc[BIO]* out,
    xref:ASN1_VALUE.adoc[ASN1&lowbar;VALUE] const* ifld,
    int indent,
    xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it,
    xref:ASN1_PCTX.adoc[ASN1&lowbar;PCTX] const* pctx);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| Output BIO&period;
| *ifld*
| Value to print (typed according to `it)&period;`
| *indent*
| Initial indentation depth in spaces&period;
| *it*
| ASN&period;1 item descriptor for the type of `ifld&period;`
| *pctx*
| Print context with ASN1&lowbar;PCTX&lowbar;FLAGS&lowbar;&ast;, or NULL for defaults&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
