OBJ_txt2nid

Return the NID for a text object identifier.

Synopsis

Declared in <openssl/objects.h>

int
OBJ_txt2nid(char const* s);

Return Value

Corresponding NID, or NID_undef on error.

Parameters

NameDescription
sLong name, short name, or numerical OID string.