ASN1_tag2bit

Map an ASN.1 universal tag number to the corresponding B_ASN1_* bit mask.

Synopsis

Declared in <openssl/asn1.h>

unsigned long
ASN1_tag2bit(int tag);

Return Value

Matching B_ASN1_* bit, or 0 if tag has no string-type bit mapping.

Parameters

NameDescription
tagASN.1 tag number such as V_ASN1_UTF8STRING.