x509_parser::objects
pub fn sn2oid(sn: &str) -> Result<&Oid<'_>, NidError>
Given a short name, returns the matching OID