[#ASN1_INTEGER_set_uint64]
= ASN1&lowbar;INTEGER&lowbar;set&lowbar;uint64
:mrdocs:

Set an ASN&period;1 INTEGER to an unsigned 64&hyphen;bit value&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;INTEGER&lowbar;set&lowbar;uint64(
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER]* a,
    uint64&lowbar;t r);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Integer to update&period;
| *r*
| Value to store&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
