Register a new ASN.1 object identifier with short and long names.

Synopsis

Declared in <openssl/objects.h>

int
OBJ_create(
    char const* oid,
    char const* sn,
    char const* ln);

Return Value

New NID on success, or NID_undef on error.

Parameters

Name

Description

oid

Numeric OID string (for example "1.2.3.4").

sn

Short name to associate with the OID.

ln

Long name to associate with the OID.

Created with MrDocs