Choose a PrintableString / IA5String / T61String type that can hold s.
Declared in <openssl/asn1.h>
int
ASN1_PRINTABLE_type(
unsigned char const* s,
int max);
V_ASN1_PRINTABLESTRING, V_ASN1_IA5STRING, or V_ASN1_T61STRING.
| Name | Description |
|---|---|
| s | Bytes to classify; NULL is treated as PrintableString. |
| max | Number of bytes at s, or a negative value to use strlen(s). |