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

Unified Diff: net/cert/internal/trust_store_nss.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_nss.h
diff --git a/net/cert/internal/trust_store_nss.h b/net/cert/internal/trust_store_nss.h
index 760d49953c20d4a2626f6cead9413b07bdc2d2a0..da323dae6f0da9839ba97c8b2435f7a152d1bc51 100644
--- a/net/cert/internal/trust_store_nss.h
+++ b/net/cert/internal/trust_store_nss.h
@@ -23,8 +23,11 @@ class NET_EXPORT TrustStoreNSS : public TrustStore {
~TrustStoreNSS() override;
// 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:
SECTrustType trust_type_;

Powered by Google App Engine
This is Rietveld 408576698