Lines Matching defs:store
76 void AddCertsFromStore(HCERTSTORE store,
80 while ((cert = CertEnumCertificatesInStore(store, cert)) != NULL) {
83 NULL, // The cert won't be persisted in any cert store. This breaks
84 // any association the context currently has to |store|, which
85 // allows us, the caller, to safely close |store| without
202 // Create an in-memory certificate store to hold this certificate and
203 // any intermediate certificates in |intermediate_ca_certs_|. The store
206 ScopedHCERTSTORE store(CertOpenStore(
209 if (!store.get())
218 BOOL ok = CertAddCertificateContextToStore(store.get(), os_cert_handle(),
225 CertAddCertificateContextToStore(store.get(), intermediate_ca_certs_[i],
229 // Note: |store| is explicitly not released, as the call to CertCloseStore()
230 // when |store| goes out of scope will not actually free the store. Instead,
231 // the store will be freed when |primary_cert| is freed.
355 // the deserialized cert into a temporary cert store and then create a new
357 ScopedHCERTSTORE store(
359 if (!store.get())
364 store.get(), reinterpret_cast<const BYTE*>(data), length,