oid/from-string oid/register oid/to-name oid/to-string
(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/register oid-obj name)
Register an OID so that it may later be retrieved by name.Returns the `oid-obj` itself.
(oid/to-name oid-obj)
Returns the OID as a name if it has one, otherwise as dot notation.