Object Identifiers

Index

oid/from-string oid/register oid/to-name oid/to-string

Reference

(oid/from-string str)

Create an OID from a string, either dot notation (e.g. '1.2.3.4') or a registered name (e.g. 'RSA'). Returns the `oid-obj`.

oid/registercfunction
(oid/register oid-obj name)

Register an OID so that it may later be retrieved by name.Returns the `oid-obj` itself.

oid/to-namecfunction
(oid/to-name oid-obj)

Returns the OID as a name if it has one, otherwise as dot notation.

oid/to-stringcfunction
(oid/to-string oid-obj)

Returns the OID in dot notation string.