Choose a PrintableString / IA5String / T61String type that can hold s.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_PRINTABLE_type(
    unsigned char const* s,
    int max);

Return Value

V_ASN1_PRINTABLESTRING, V_ASN1_IA5STRING, or V_ASN1_T61STRING.

Parameters

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).

Created with MrDocs