Home
last modified time | relevance | path

Searched refs:X509StoreContext (Results 1 - 5 of 5) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dtests.rs28 CrlStatus, X509Crl, X509Extension, X509Name, X509Req, X509StoreContext, X509VerifyResult, X509,
532 let mut context = X509StoreContext::new().unwrap(); in test_verify_cert()
553 let mut context = X509StoreContext::new().unwrap(); in test_verify_fails()
573 let mut context = X509StoreContext::new().unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl()
607 let mut context = X509StoreContext::new().unwrap(); in test_verify_cert_with_purpose()
635 let mut context = X509StoreContext::new().unwrap(); in test_verify_cert_with_wrong_purpose_fails()
848 let mut context = X509StoreContext::new().unwrap(); in test_verify_param_set_time_fails_verification()
879 let mut context = X509StoreContext::new().unwrap(); in test_verify_param_set_time()
906 let mut context = X509StoreContext::new().unwrap(); in test_verify_param_set_depth()
941 let mut context = X509StoreContext in test_verify_param_set_depth_fails_verification()
[all...]
H A Dmod.rs68 pub struct X509StoreContext; structure names
70 /// A reference to an [`X509StoreContext`].
74 impl X509StoreContext { impls
78 pub fn ssl_idx() -> Result<Index<X509StoreContext, SslRef>, ErrorStack> { in ssl_idx()
82 /// Creates a new `X509StoreContext` instance.
84 pub fn new() -> Result<X509StoreContext, ErrorStack> { in new()
87 cvt_p(ffi::X509_STORE_CTX_new()).map(X509StoreContext) in new()
95 pub fn ex_data<T>(&self, index: Index<X509StoreContext, T>) -> Option<&T> { in ex_data()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
H A Dconnector.rs426 GeneralName, X509NameRef, X509Ref, X509StoreContext, X509StoreContextRef,
445 X509StoreContext::ssl_idx() in try_get_hostname_idx()
H A Dcallbacks.rs35 use crate::x509::{X509StoreContext, X509StoreContextRef};
43 let ssl_idx = X509StoreContext::ssl_idx().expect("BUG: store context ssl index missing"); in raw_verify()
147 let ssl_idx = X509StoreContext::ssl_idx().expect("BUG: store context ssl index missing"); in ssl_raw_verify()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
H A Dmod.rs39 use crate::x509::{X509Name, X509StoreContext, X509VerifyResult, X509};

Completed in 9 milliseconds