rocket::mtls

Module oid

Source
Available on crate feature mtls only.
Expand description

Lower-level OID types re-exported from oid_registry and der-parser.

Modules§

Structs§

  • Temporary structure, created when reading a file containing OID declarations
  • Object ID (OID) representation which can be relative or non-relative. An example for an OID in string representation is "1.2.840.113549.1.1.5".
  • An entry stored in the OID registry
  • Registry of known OIDs

Constants§

Functions§

  • Format a OID to a String, using the provided registry to get the short name if present.
  • Generate a file containing a with_<feat> method for OidRegistry
  • Load a file to an OID description map
  • Return the abbreviation (for ex. CN for Common Name), or if not found, the OID short name
  • Returns the description corresponding to the OID
  • Returns the short name corresponding to the OID
  • Return a reference to the default registry of known OIDs

Type Aliases§

  • Temporary structure, created when reading a file containing OID declarations