Home
last modified time | relevance | path

Searched refs:Asn1Object (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dextension.rs21 use crate::asn1::Asn1Object;
322 stack.push(Asn1Object::from_str(item)?)?; in build()
437 OtherName(Asn1Object, Vec<u8>),
521 pub fn other_name2(&mut self, oid: Asn1Object, content: &[u8]) -> &mut SubjectAlternativeName { in other_name2() argument
538 RustGeneralName::Rid(s) => GeneralName::new_rid(Asn1Object::from_str(s)?)?, in build()
Dtests.rs3 use crate::asn1::{Asn1Object, Asn1OctetString, Asn1Time};
372 &Asn1Object::from_str("2.5.29.19").unwrap(), in x509_extension_new_from_der()
1129 let oid = Asn1Object::from_str("1.3.6.1.5.5.7.8.11").unwrap(); in other_name_as_subject_alternative_name()
Dmod.rs27 Asn1BitStringRef, Asn1Enumerated, Asn1IntegerRef, Asn1Object, Asn1ObjectRef,
2037 pub(crate) fn new_rid(oid: Asn1Object) -> Result<GeneralName, ErrorStack> { in new_rid()
2059 oid: Asn1Object, in new_other_name() argument
/third_party/rust/crates/rust-openssl/openssl/src/
Dasn1.rs673 pub struct Asn1Object;
678 impl Stackable for Asn1Object { implementation
682 impl Asn1Object { implementation
686 pub fn from_str(txt: &str) -> Result<Asn1Object, ErrorStack> { in from_str() argument
691 Ok(Asn1Object::from_ptr(obj)) in from_str()
884 let object = Asn1Object::from_str("2.16.840.1.101.3.4.2.1").unwrap(); in object_from_str()
890 Asn1Object::from_str("NOT AN OID") in object_from_str_with_invalid_input()
898 let object = Asn1Object::from_str("2.16.840.1.101.3.4.2.1").unwrap(); in object_to_slice()
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md240 * Added `Asn1Object::as_slice`.
309 * Added `Asn1Object::from_str`.