Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: net/cert/internal/trust_store_in_memory.h

Issue 2832703002: Allow the TrustStore interface to return matching intermediates, and identify distrusted certs. (Closed)
Patch Set: mac fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/internal/trust_store_in_memory.h
diff --git a/net/cert/internal/trust_store_in_memory.h b/net/cert/internal/trust_store_in_memory.h
index 214d73e7a149c09bf58671bf59203e6f162f2aab..69dd7c04d5d715b654c3d77089c31261f6668833 100644
--- a/net/cert/internal/trust_store_in_memory.h
+++ b/net/cert/internal/trust_store_in_memory.h
@@ -27,8 +27,11 @@ class NET_EXPORT TrustStoreInMemory : public TrustStore {
void AddTrustAnchor(scoped_refptr<TrustAnchor> anchor);
// TrustStore implementation:
- void FindTrustAnchorsForCert(const scoped_refptr<ParsedCertificate>& cert,
- TrustAnchors* matches) const override;
+ void FindIssuers(const scoped_refptr<ParsedCertificate>& cert,
+ TrustAnchors* trust_anchors,
+ ParsedCertificateList* intermediates) const override;
+ bool IsBlacklisted(
+ const scoped_refptr<ParsedCertificate>& cert) const override;
// Returns true if the trust store contains the given TrustAnchor instance.
// Note that this considers only pointer equality and not a more

Powered by Google App Engine
This is Rietveld 408576698