[#ASN1_TYPE_set_octetstring] = ASN1_TYPE_set_octetstring :mrdocs: Set an ASN1_TYPE to an OCTET STRING containing a copy of `data.` == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_TYPE_set_octetstring( xref:ASN1_TYPE.adoc[ASN1_TYPE]* a, unsigned char* data, int len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *a* | ANY value to update. | *data* | Octets to store. | *len* | Number of bytes at `data.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#