[#OBJ_sn2nid]
= OBJ&lowbar;sn2nid
:mrdocs:

Look up the numeric object identifier (NID) for a short name string&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;sn2nid(char const* s);
----

== Return Value

Matching NID, or NID&lowbar;undef if `s` is not recognised&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Short name such as &quot;SHA256&quot; or &quot;rsaEncryption&quot;&period;
|===


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