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

Unified Diff: net/quic/crypto/crypto_handshake.h

Issue 1416583005: Add support of serving SCT on the server side in QUIC, gated by QUIC_VERSION_30. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106687764
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
« no previous file with comments | « no previous file | net/quic/crypto/crypto_handshake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_handshake.h
diff --git a/net/quic/crypto/crypto_handshake.h b/net/quic/crypto/crypto_handshake.h
index 74671caea38163ceb0580a8667053e20bb7e54d3..ef4fe22e5a536eaf31f205187e96f0275b641b41 100644
--- a/net/quic/crypto/crypto_handshake.h
+++ b/net/quic/crypto/crypto_handshake.h
@@ -137,6 +137,10 @@ struct NET_EXPORT_PRIVATE QuicCryptoNegotiatedParameters {
// Used to generate cert chain when sending server config updates.
std::string client_common_set_hashes;
std::string client_cached_cert_hashes;
+
+ // Default to false; set to true if the client indicates that it supports sct
+ // by sending CSCT tag with an empty value in client hello.
+ bool sct_supported_by_client;
};
struct NET_EXPORT_PRIVATE QuicCryptoProof {
@@ -146,6 +150,7 @@ struct NET_EXPORT_PRIVATE QuicCryptoProof {
std::string signature;
// QuicCryptoProof does not take ownership of |certs|.
const std::vector<std::string>* certs;
+ std::string cert_sct;
};
// QuicCryptoConfig contains common configuration between clients and servers.
« no previous file with comments | « no previous file | net/quic/crypto/crypto_handshake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698