rocket::mtls::x509::objects

Function oid2sn

Source
pub fn oid2sn<'a>(
    oid: &'a Oid<'_>,
    registry: &'a OidRegistry<'_>,
) -> Result<&'a str, NidError>
Available on crate feature mtls only.
Expand description

Returns the short name corresponding to the OID