[#ASN1_put_object]
= ASN1&lowbar;put&lowbar;object
:mrdocs:

Write an ASN&period;1 identifier and length octet(s) at &ast;`pp` and advance the pointer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ASN1&lowbar;put&lowbar;object(
    unsigned char** pp,
    int constructed,
    int length,
    int tag,
    int xclass);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pp*
| Address of the output cursor&semi; updated past the written header&period;
| *constructed*
| Non&hyphen;zero to set the constructed bit in the identifier&period;
| *length*
| Content length in bytes, or 0 when writing an indefinite&hyphen;length header&period;
| *tag*
| Tag number to encode&period;
| *xclass*
| Class bits (universal, application, context&hyphen;specific, or private)&period;
|===


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