rocket::mtls::x509::oid_registry

Function format_oid

Source
pub fn format_oid(oid: &Oid<'_>, registry: &OidRegistry<'_>) -> String
Available on crate feature mtls only.
Expand description

Format a OID to a String, using the provided registry to get the short name if present.