Function x509_parser::objects::oid2abbrev

source ยท
pub fn oid2abbrev<'a>(
    oid: &'a Oid<'_>,
    registry: &'a OidRegistry<'_>,
) -> Result<&'a str, NidError>
Expand description

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