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

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

Issue 2126803004: WIP: NSS trust store integration for path builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert-command-line-path-builder-add_certpathbuilder
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « net/cert/internal/trust_store_test_helpers.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/verify_certificate_chain.h
diff --git a/net/cert/internal/verify_certificate_chain.h b/net/cert/internal/verify_certificate_chain.h
index 5dc627579cb84616c068f27c2eb38479edfdc86c..818d222733ece39ee286feb4d1eefdc9b6742fd8 100644
--- a/net/cert/internal/verify_certificate_chain.h
+++ b/net/cert/internal/verify_certificate_chain.h
@@ -41,10 +41,6 @@ class TrustStore;
// * cert_chain[i+1] holds the certificate that issued cert_chain[i].
// * cert_chain[N-1] must be the trust anchor.
//
-// trust_store:
-// Contains the set of trusted public keys (and their names). This is only
-// used to DCHECK that the final cert is a trust anchor.
-//
// signature_policy:
// The policy to use when verifying signatures (what hash algorithms are
// allowed, what length keys, what named curves, etc).
@@ -59,8 +55,6 @@ class TrustStore;
// Returns true if the target certificate can be verified.
NET_EXPORT bool VerifyCertificateChainAssumingTrustedRoot(
const ParsedCertificateList& certs,
- // The trust store is only used for assertions.
- const TrustStore& trust_store,
const SignaturePolicy* signature_policy,
const der::GeneralizedTime& time) WARN_UNUSED_RESULT;
« no previous file with comments | « net/cert/internal/trust_store_test_helpers.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698