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

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

Issue 1715593002: QUIC: obtain source address token keys from internal key server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114217654
Patch Set: Created 4 years, 10 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/quic/crypto/crypto_secret_boxer_test.cc ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_server_config.h
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index 0dabc295d93c0b60ec46a22dfa65cf1720f214ae..617779c99d61627b40951987b571340a405ee400 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -194,6 +194,14 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
bool SetConfigs(const std::vector<QuicServerConfigProtobuf*>& protobufs,
QuicWallTime now);
+ // SetDefaultSourceAddressTokenKeys sets the keys to be tried, in order,
+ // when decrypting a source address token. This modifies only the default
+ // boxer, which is to say, it is a no-op if a key was specified in the Config.
+ // Note that these keys are used *without* passing them through a KDF, in
+ // contradistinction to the |source_address_token_secret| argument to the
+ // constructor.
+ void SetDefaultSourceAddressTokenKeys(const std::vector<std::string>& keys);
+
// Get the server config ids for all known configs.
void GetConfigIds(std::vector<std::string>* scids) const;
« no previous file with comments | « net/quic/crypto/crypto_secret_boxer_test.cc ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698