Searched refs:Asn1Object (Results 1 – 3 of 3) sorted by relevance
590 pub struct Asn1Object;595 impl Asn1Object { impl599 pub fn from_str(txt: &str) -> Result<Asn1Object, ErrorStack> { in from_str() argument604 Ok(Asn1Object::from_ptr(obj)) in from_str()749 let object = Asn1Object::from_str("2.16.840.1.101.3.4.2.1").unwrap(); in object_from_str()755 Asn1Object::from_str("NOT AN OID") in object_from_str_with_invalid_input()763 let object = Asn1Object::from_str("2.16.840.1.101.3.4.2.1").unwrap(); in object_to_slice()
116 * Added `Asn1Object::as_slice`.185 * Added `Asn1Object::from_str`.
1708 + /// Returns the `Asn1Object` value of an `X509NameEntry`.