[#ASN1_UNIVERSALSTRING_to_string]
= ASN1&lowbar;UNIVERSALSTRING&lowbar;to&lowbar;string
:mrdocs:

Convert a UniversalString that holds only Latin&hyphen;1 code points into a Printable&sol;IA5&sol;T61 string in place&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;UNIVERSALSTRING&lowbar;to&lowbar;string(xref:ASN1_UNIVERSALSTRING.adoc[ASN1&lowbar;UNIVERSALSTRING]* s);
----

== Return Value

1 on success (type and data updated), or 0 if `s` is not a convertible UniversalString&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| UniversalString whose four&hyphen;byte code units are collapsed to single octets when possible&period;
|===


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