OBJ_add_object

Add obj to the process-wide object database (NID/sn/ln tables).

Synopsis

Declared in <openssl/objects.h>

int
OBJ_add_object(ASN1_OBJECT const* obj);

Return Value

New NID on success, or NID_undef on error.

Parameters

NameDescription
objObject identifier to register (copied internally as needed).