Home
last modified time | relevance | path

Searched refs:extn_id (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/webpki/src/
Dcert.rs115 let extn_id = der::expect_tag_and_get_value(extension, der::Tag::OID)?; in parse_cert_internal() localVariable
119 match remember_extension(&mut cert, extn_id, extn_value)? { in parse_cert_internal()
169 extn_id: untrusted::Input, in remember_extension()
179 if extn_id.len() != ID_CE.len() + 1 || !extn_id.as_slice_less_safe().starts_with(&ID_CE) { in remember_extension()
183 let out = match *extn_id.as_slice_less_safe().last().unwrap() { in remember_extension()
/external/rust/crates/x509-cert/tests/
Dpkix_extensions.rs18 match ext.extn_id { in spin_over_exts()
110 eprintln!("ignoring {} with criticality {}", ext.extn_id, ext.critical); in spin_over_exts()
162 assert_eq!(ext.extn_id.to_string(), ID_CE_KEY_USAGE.to_string()); in decode_cert()
171 assert_eq!(ext.extn_id.to_string(), ID_CE_BASIC_CONSTRAINTS.to_string()); in decode_cert()
180 assert_eq!(ext.extn_id.to_string(), ID_CE_POLICY_MAPPINGS.to_string()); in decode_cert()
246 ext.extn_id.to_string(), in decode_cert()
307 ext.extn_id.to_string(), in decode_cert()
322 ext.extn_id.to_string(), in decode_cert()
380 ext.extn_id.to_string(), in decode_cert()
407 ext.extn_id.to_string(), in decode_cert()
[all …]
Dcertificate.rs196 assert_eq!(ext.extn_id.to_string(), *oid); in decode_cert()
333 assert_eq!(ext.extn_id.to_string(), *oid); in decode_cert()
Dcertreq.rs67 assert_eq!(ext.extn_id, oid.parse().unwrap()); in decode_rsa_2048_der()
/external/rust/crates/x509-cert/src/
Dext.rs28 pub extn_id: ObjectIdentifier, field
Dcertificate.rs132 .filter(|e| e.extn_id == T::OID) in filter()
/external/rust/crates/der/tests/
Dderive.rs291 pub extn_id: ObjectIdentifier, field
339 extn_id: ObjectIdentifier, field