Struct der_parser::oid::Oid
[−]
[src]
pub struct Oid(_);
Object ID (OID) representation
Methods
impl Oid[src]
pub fn from(s: &[u64]) -> Oid[src]
Build an OID from an array of u64 integers
pub fn from_vec(v: &Vec<u64>) -> Oid[src]
Build an OID from a vector of u64 integers
pub fn to_string(&self) -> String[src]
Convert the OID to a string representation. The string contains the IDs separated by dots, for ex: "1.2.840.113549.1.1.5"
pub fn iter(&self) -> Iter<u64>[src]
Return an iterator on every ID
Trait Implementations
impl<'a> From<Oid> for DerObject<'a>[src]
Build a DER object from an OID.
impl PartialEq for Oid[src]
fn eq(&self, __arg_0: &Oid) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Oid) -> bool[src]
This method tests for !=.
impl Eq for Oid[src]
impl Clone for Oid[src]
fn clone(&self) -> Oid[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for Oid[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more