Function rocket::mtls::oid::oid2abbrev

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

Return the abbreviation (for ex. CN for Common Name), or if not found, the OID short name