[#OBJ_nid2obj]
= OBJ&lowbar;nid2obj
:mrdocs:

Return the ASN1&lowbar;OBJECT for a numeric identifier (NID)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT]*
OBJ&lowbar;nid2obj(int n);
----

== Return Value

Internal ASN1&lowbar;OBJECT pointer (do not free), or NULL if `n` is unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| Object NID such as NID&lowbar;sha256&period;
|===


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