Set or clear a single bit in an ASN.1 BIT STRING.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_BIT_STRING_set_bit(
ASN1_BIT_STRING* a,
int n,
int value);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
a |
Bit string to update (resized as needed). |
n |
Zero‐based bit index to change. |
value |
Nonzero to set the bit, or 0 to clear it. |
Created with MrDocs