Lines Matching refs:CertStore
20 pub struct CertStore(wincrypt::HCERTSTORE); struct
22 unsafe impl Sync for CertStore {} implementation
23 unsafe impl Send for CertStore {} implementation
25 impl fmt::Debug for CertStore { implementation
31 impl Drop for CertStore { implementation
39 impl Clone for CertStore { implementation
40 fn clone(&self) -> CertStore { in clone() argument
41 unsafe { CertStore(wincrypt::CertDuplicateStore(self.0)) } in clone()
45 inner!(CertStore, wincrypt::HCERTSTORE);
102 impl CertStore { implementation
107 pub fn open_current_user(which: &str) -> io::Result<CertStore> { in open_current_user() argument
121 Ok(CertStore(store)) in open_current_user()
130 pub fn open_local_machine(which: &str) -> io::Result<CertStore> { in open_local_machine() argument
144 Ok(CertStore(store)) in open_local_machine()
155 -> io::Result<CertStore> { in import_pkcs12() argument
174 Ok(CertStore(res)) in import_pkcs12()
242 store: &'a CertStore,
314 pub fn import(&self, data: &[u8]) -> io::Result<CertStore> { in import() argument
326 Ok(CertStore(store)) in import()
334 pub struct Memory(CertStore);
351 Ok(Memory(CertStore(store))) in new()
401 pub fn into_store(self) -> CertStore { in into_store() argument