Test whether bit n is set in an ASN.1 BIT STRING.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_BIT_STRING_get_bit(
ASN1_BIT_STRING const* a,
int n);
Return Value
1 if the bit is set, or 0 if clear / out of range / a is NULL.
Parameters
Name |
Description |
a |
Bit string to query; NULL or short strings are treated as clear. |
n |
Zero‐based bit index. |
Created with MrDocs