pub fn oid_registry() -> &'static OidRegistry<'static>
Return a reference to the default registry of known OIDs
25 26 27 28 29 30
fn format_oid(oid: &Oid) -> String { match oid2sn(oid, oid_registry()) { Ok(s) => s.to_owned(), _ => format!("{}", oid), } }
16 17 18 19 20 21