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

Name

Description

out

BIO that receives the formatted text.

str

String to print.

flags

Combination of ASN1_STRFLGS_* flags (for example ASN1_STRFLGS_RFC2253).

Created with MrDocs