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

Unified Diff: net/cert/internal/trust_store_collection.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_collection.h
diff --git a/net/cert/internal/trust_store_collection.h b/net/cert/internal/trust_store_collection.h
index 74ece5f97ba447f720a3e419e3b3bee13b0d7158..c9a5cf5f85ef29db2343139a3181b7da3b96d3f8 100644
--- a/net/cert/internal/trust_store_collection.h
+++ b/net/cert/internal/trust_store_collection.h
@@ -26,8 +26,11 @@ class NET_EXPORT TrustStoreCollection : public TrustStore {
void AddTrustStore(TrustStore* store);
// 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;
private:
std::vector<TrustStore*> stores_;

Powered by Google App Engine
This is Rietveld 408576698