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 0aba62e22531048934a3e3a6349f7630a56d53bc..4962a1770a0ddd46eabdcd94671f11a004bb2967 100644 |
--- a/net/quic/crypto/quic_crypto_server_config.h |
+++ b/net/quic/crypto/quic_crypto_server_config.h |
@@ -41,6 +41,7 @@ class QuicRandom; |
class QuicServerConfigProtobuf; |
class StrikeRegister; |
class StrikeRegisterClient; |
+struct QuicCryptoProof; |
// ClientHelloInfo contains information about a client hello message that is |
// only kept for as long as it's being processed. |
@@ -361,6 +362,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig { |
private: |
friend class test::QuicCryptoServerConfigPeer; |
+ friend struct QuicCryptoProof; |
// Config represents a server config: a collection of preferences and |
// Diffie-Hellman public values. |
@@ -621,6 +623,20 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig { |
DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerConfig); |
}; |
+struct NET_EXPORT_PRIVATE QuicCryptoProof { |
+ QuicCryptoProof(); |
+ ~QuicCryptoProof(); |
+ |
+ std::string signature; |
+ // QuicCryptoProof does not take ownership of |certs|. |
+ const std::vector<std::string>* certs; |
+ std::string cert_sct; |
+ // The server config that is used for this proof (and the rest of the |
+ // request). |
+ scoped_refptr<QuicCryptoServerConfig::Config> config; |
+ std::string primary_scid; |
+}; |
+ |
} // namespace net |
#endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ |