[#ASN1_TYPE_set1] = ASN1_TYPE_set1 :mrdocs: Set an ASN1_TYPE to `type,` storing a copy of `value` (unlike ASN1_TYPE_set). == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_TYPE_set1( xref:ASN1_TYPE.adoc[ASN1_TYPE]* a, int type, void const* value); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *a* | Destination ANY/CHOICE container to update. | *type* | ASN.1 type tag (V_ASN1_*); for V_ASN1_BOOLEAN, `value` may be NULL to mean FALSE. | *value* | Pointer to the typed value to copy, or NULL where the type allows it. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#