[#ASN1_PRINTABLE_type]
= ASN1&lowbar;PRINTABLE&lowbar;type
:mrdocs:

Choose a PrintableString &sol; IA5String &sol; T61String type that can hold `s&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;PRINTABLE&lowbar;type(
    unsigned char const* s,
    int max);
----

== Return Value

V&lowbar;ASN1&lowbar;PRINTABLESTRING, V&lowbar;ASN1&lowbar;IA5STRING, or V&lowbar;ASN1&lowbar;T61STRING&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Bytes to classify&semi; NULL is treated as PrintableString&period;
| *max*
| Number of bytes at `s,` or a negative value to use strlen(`s)&period;`
|===


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