[#OBJ_get0_data]
= OBJ&lowbar;get0&lowbar;data
:mrdocs:

Return the DER&hyphen;encoded content octets of an ASN1&lowbar;OBJECT&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned char const*
OBJ&lowbar;get0&lowbar;data(xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT] const* obj);
----

== Return Value

Internal pointer to the OID content bytes (do not free), or NULL if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| Object to query&period;
|===


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