pub fn oid<'cert>(
    buf: &mut untrusted::Reader<'cert>,
) -> Result<Oid<'cert>, Error> {
    Ok(Oid::new(parse(Tag::OID, buf)?.as_slice_less_safe()))
}
/// Parses an `OBJECT IDENTIFIER`. The only purpose of an OID is to be compared
/// to other OIDs byte-for-byte.
Parses an `OBJECT IDENTIFIER`. The only purpose of an OID is to be compared
to other OIDs byte-for-byte.
Parses an ` OBJECT IDENTIFIER ` . The only purpose of an OID is to be compared to other OIDs byte - for - byte .
pub fn oid<'cert>(
    buf: &mut untrusted::Reader<'cert>,
) -> Result<Oid<'cert>, Error> {
    Ok(Oid::new(parse(Tag::OID, buf)?.as_slice_less_safe()))
}
pub fn oid < ' cert > ( buf : & mut untrusted :: Reader < ' cert > , ) -> Result < Oid < ' cert > , Error > { Ok ( Oid :: new ( parse ( Tag :: OID , buf ) ? . as_slice_less_safe ( ) ) ) }
Parses an `OBJECT IDENTIFIER`.
Parses an ` OBJECT IDENTIFIER ` .
buf
&mut untrusted::Reader<'cert>
buf
&mut untrusted::Reader<'cert>