[#ASN1_STRING_print]
= ASN1&lowbar;STRING&lowbar;print
:mrdocs:

Print an ASN&period;1 string to a BIO, replacing unprintable bytes with &apos;&period;&apos;&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;STRING&lowbar;print(
    xref:BIO.adoc[BIO]* bp,
    xref:ASN1_STRING.adoc[ASN1&lowbar;STRING] const* v);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| BIO that receives the printable text&period;
| *v*
| String to print&semi; may be NULL&period;
|===


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