ASN1_STRING_print_ex

Print an ASN.1 string to a BIO using ASN1_STRFLGS_* formatting options.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_STRING_print_ex(
    BIO* out,
    ASN1_STRING const* str,
    unsigned long flags);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
outBIO that receives the formatted text.
strString to print.
flagsCombination of ASN1_STRFLGS_* flags (for example ASN1_STRFLGS_RFC2253).