rocket::mtls::x509

Function oid2description

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

Returns the description corresponding to the OID