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

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: 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_nss.h
diff --git a/net/cert/internal/trust_store_nss.h b/net/cert/internal/trust_store_nss.h
index 760d49953c20d4a2626f6cead9413b07bdc2d2a0..fd66b45d4ee8d4104cf71f025247fe18e05f1763 100644
--- a/net/cert/internal/trust_store_nss.h
+++ b/net/cert/internal/trust_store_nss.h
@@ -22,9 +22,13 @@ class NET_EXPORT TrustStoreNSS : public TrustStore {
explicit TrustStoreNSS(SECTrustType trust_type);
~TrustStoreNSS() override;
+ // CertIssuerSource implementation:
+ void SyncGetIssuersOf(const ParsedCertificate* cert,
+ ParsedCertificateList* issuers) override;
+
// TrustStore implementation:
- void FindTrustAnchorsForCert(const scoped_refptr<ParsedCertificate>& cert,
- TrustAnchors* matches) const override;
+ void GetTrust(const scoped_refptr<ParsedCertificate>& cert,
+ CertificateTrust* trust) const override;
private:
SECTrustType trust_type_;

Powered by Google App Engine
This is Rietveld 408576698