Home
last modified time | relevance | path

Searched refs:X509PurposeRef (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dtests.rs24 use crate::x509::X509PurposeRef;
596 let purpose_idx = X509PurposeRef::get_by_sname("sslserver") in test_verify_cert_with_purpose()
599 X509PurposeRef::from_idx(purpose_idx).expect("Getting certificate purpose failed"); in test_verify_cert_with_purpose()
623 let purpose_idx = X509PurposeRef::get_by_sname("timestampsign") in test_verify_cert_with_wrong_purpose_fails()
626 X509PurposeRef::from_idx(purpose_idx).expect("Getting certificate purpose failed"); in test_verify_cert_with_wrong_purpose_fails()
Dmod.rs2473 pub struct X509PurposeRef(Opaque); struct
2476 impl ForeignTypeRef for X509PurposeRef { implementation
2480 impl X509PurposeRef { impl
2510 pub fn from_idx(idx: c_int) -> Result<&'static X509PurposeRef, ErrorStack> { in from_idx() argument
2513 Ok(X509PurposeRef::from_ptr(ptr)) in from_idx()