| 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 22c6d5faca3391e4ce181359641134ee16fa9292..5c64abd1b2f7604ae3059fbcb803f355a110352a 100644
|
| --- a/net/quic/test_tools/crypto_test_utils.h
|
| +++ b/net/quic/test_tools/crypto_test_utils.h
|
| @@ -205,6 +205,12 @@ class CryptoTestUtils {
|
| PacketSavingConnection* dest_conn,
|
| Perspective dest_perspective);
|
|
|
| + // Return an inchoate CHLO with some basic tag value std:pairs.
|
| + static CryptoHandshakeMessage GenerateDefaultInchoateCHLO(
|
| + const QuicClock* clock,
|
| + QuicVersion version,
|
| + QuicCryptoServerConfig* crypto_config);
|
| +
|
| // Takes a inchoate CHLO, returns a full CHLO in |out| which can pass
|
| // |crypto_config|'s validation.
|
| static void GenerateFullCHLO(const CryptoHandshakeMessage& inchoate_chlo,
|
| @@ -221,6 +227,14 @@ class CryptoTestUtils {
|
| static void CompareClientAndServerKeys(QuicCryptoClientStream* client,
|
| QuicCryptoServerStream* server);
|
|
|
| + // Return a CHLO nonce in hexadecimal.
|
| + static std::string GenerateClientNonceHex(
|
| + const QuicClock* clock,
|
| + QuicCryptoServerConfig* crypto_config);
|
| +
|
| + // Return a CHLO PUBS in hexadecimal.
|
| + static std::string GenerateClientPublicValuesHex();
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CryptoTestUtils);
|
| };
|
|
|
|
|