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

Unified Diff: net/quic/test_tools/crypto_test_utils.h

Issue 1454993002: QUIC - Code to verify SCT tag with certificate transparency verifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/quic/test_tools/crypto_test_utils.h
diff --git a/net/quic/test_tools/crypto_test_utils.h b/net/quic/test_tools/crypto_test_utils.h
index b823c61fa99d60c6c1626608a1a67b0d8adb12bb..1c06650ec36119786ff665f29b455ffc35c9392e 100644
--- a/net/quic/test_tools/crypto_test_utils.h
+++ b/net/quic/test_tools/crypto_test_utils.h
@@ -22,6 +22,7 @@ namespace net {
class ChannelIDSource;
class CommonCertSets;
+class CTVerifier;
class ProofSource;
class ProofVerifier;
class ProofVerifyContext;
@@ -150,6 +151,9 @@ class CryptoTestUtils {
// returned by |ProofVerifierForTesting|.
static ProofVerifyContext* ProofVerifyContextForTesting();
+ // Returns a |CTVerifier| that tests certificate transparency.
+ static CTVerifier* CTVerifierTesting();
Ryan Hamilton 2015/11/18 20:57:26 Since this code is shared, I'm not sure this metho
ramant (doing other things) 2015/11/21 00:27:03 Undid all chromium specific changes to common code
+
// MockCommonCertSets returns a CommonCertSets that contains a single set with
// hash |hash|, consisting of the certificate |cert| at index |index|.
static CommonCertSets* MockCommonCertSets(base::StringPiece cert,

Powered by Google App Engine
This is Rietveld 408576698