[#OBJ_create]
= OBJ&lowbar;create
:mrdocs:

Register a new ASN&period;1 object identifier with short and long names&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;create(
    char const* oid,
    char const* sn,
    char const* ln);
----

== Return Value

New NID on success, or NID&lowbar;undef on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *oid*
| Numeric OID string (for example &quot;1&period;2&period;3&period;4&quot;)&period;
| *sn*
| Short name to associate with the OID&period;
| *ln*
| Long name to associate with the OID&period;
|===


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