ASN1_UNIVERSALSTRING_to_string

Convert a UniversalString that holds only Latin-1 code points into a Printable/IA5/T61 string in place.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING* s);

Return Value

1 on success (type and data updated), or 0 if s is not a convertible UniversalString.

Parameters

NameDescription
sUniversalString whose four-byte code units are collapsed to single octets when possible.