ASN1_BIT_STRING_name_print

Print the long names of set bits from a BIT_STRING_BITNAME table.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_BIT_STRING_name_print(
    BIO* out,
    ASN1_BIT_STRING* bs,
    BIT_STRING_BITNAME* tbl,
    int indent);

Return Value

1 on success.

Parameters

NameDescription
outBIO that receives the indented comma-separated names and a newline.
bsBit string whose set bits are looked up in tbl.
tblNULL-terminated table of bit numbers and long names.
indentNumber of spaces written before the first name.