[#ASN1_BIT_STRING_set] = ASN1_BIT_STRING_set :mrdocs: Replace the raw bit‐string payload of an ASN1_BIT_STRING. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_BIT_STRING_set( xref:ASN1_BIT_STRING.adoc[ASN1_BIT_STRING]* a, unsigned char* d, int length); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *a* | Bit string to update. | *d* | Bytes to copy into the string (treated as the bit‐string content octets). | *length* | Number of bytes at `d,` or ‐1 to use strlen on `d.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#