[#ASN1_STRING_set0] = ASN1_STRING_set0 :mrdocs: Assign an ASN.1 string ownership of an existing data buffer. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ASN1_STRING_set0( xref:ASN1_STRING.adoc[ASN1_STRING]* str, void* data, int len); ---- == Parameters [cols="1,4"] |=== | Name| Description | *str* | String whose content pointer and length are replaced. | *data* | Buffer that `str` will own (freed by ASN1_STRING_free); may be NULL when `len` is 0. | *len* | Length of `data` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#