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

Name

Description

out

BIO that receives the indented comma‐separated names and a newline.

bs

Bit string whose set bits are looked up in tbl.

tbl

NULL‐terminated table of bit numbers and long names.

indent

Number of spaces written before the first name.

Created with MrDocs