[#ASN1_STRING_copy] = ASN1_STRING_copy :mrdocs: Copy type, data, and flags from `str` into `dst.` == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_STRING_copy( xref:ASN1_STRING.adoc[ASN1_STRING]* dst, xref:ASN1_STRING.adoc[ASN1_STRING] const* str); ---- == Description Preserves any ASN1_STRING_FLAG_EMBED bit already set on `dst.` == Return Value 1 on success, or 0 on failure (including when `str` is NULL). == Parameters [cols="1,4"] |=== | Name| Description | *dst* | Destination string; must already be allocated. | *str* | Source ASN1_STRING whose contents are copied into `dst.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#