[][src]Module x509_parser::objects

X.509 helper objects definitions: OID, short and long names, NID (internal ID)

Most definitions taken from OpenSSL: /usr/include/openssl/objects.h Note: values does not match openssl, for ex. NIDs

Note: the objects registry is implemented as a static array with linear search. This is not the most efficient method, but makes maintainance easier.

Enums

Nid

ASN.1 node internal identifier

Functions

nid2sn

Returns the short name corresponding to the Nid

nid2ln

Returns the long name corresponding to the Nid

nid2obj
oid2nid
oid2sn

Returns the short name corresponding to the OID

sn2oid

Given a short name, returns the matching OID