Look up the numeric object identifier (NID) for a short name string.

Synopsis

Declared in <openssl/objects.h>

int
OBJ_sn2nid(char const* s);

Return Value

Matching NID, or NID_undef if s is not recognised.

Parameters

Name

Description

s

Short name such as "SHA256" or "rsaEncryption".

Created with MrDocs