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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 92443002: Extract Certificate Transparency SCTs from stapled OCSP responses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extract_scts
Patch Set: review comments Created 7 years 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/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index 9d5cda8dab9583f22efe4d8b288bb2c80f4ee18f..718f19f0aa9987962a5241a74ab0a249b6660e4a 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -148,13 +148,16 @@ class BaseTestServer {
// negotiates an intolerant TLS version in order to test version fallback.
TLSIntolerantLevel tls_intolerant;
- // (Fake) SignedCertificateTimestampList (as a raw binary string) to send in
- // a TLS extension.
- // Temporary glue for testing: validation of SCTs is application-controlled
+ // Temporary glue for testing: validation of SCTs is application-controlled
// and can be appropriately mocked out, so sending fake data here does not
// affect handshaking behaviour.
// TODO(ekasper): replace with valid SCT files for test certs.
- std::string signed_cert_timestamps;
+ // (Fake) SignedCertificateTimestampList (as a raw binary string) to send in
+ // a TLS extension.
+ std::string signed_cert_timestamps_tls_ext;
+ // (Fake) SignedCertificateTimestampList (as a raw binary string) to send in
+ // a stapled OCSP response.
+ std::string signed_cert_timestamps_ocsp;
};
// Pass as the 'host' parameter during construction to server on 127.0.0.1

Powered by Google App Engine
This is Rietveld 408576698