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

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: address comments 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..3c5b0040a418cbc46debcdd440550841c42ac7cd 100644
--- a/net/cert/internal/trust_store_collection.h
+++ b/net/cert/internal/trust_store_collection.h
@@ -26,8 +26,10 @@ class NET_EXPORT TrustStoreCollection : public TrustStore {
void AddTrustStore(TrustStore* store);
// TrustStore implementation:
- void FindTrustAnchorsForCert(const scoped_refptr<ParsedCertificate>& cert,
- TrustAnchors* matches) const override;
+ void SyncGetIssuersOf(const ParsedCertificate* cert,
+ ParsedCertificateList* issuers) override;
+ void GetTrust(const scoped_refptr<ParsedCertificate>& cert,
+ CertificateTrust* trust) const override;
private:
std::vector<TrustStore*> stores_;

Powered by Google App Engine
This is Rietveld 408576698