#include "quiche/quic/test_tools/quic_crypto_server_config_peer.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/string_view.h"
#include "quiche/quic/test_tools/mock_clock.h"
#include "quiche/quic/test_tools/mock_random.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
quiche::QuicheReferenceCountedPointer<QuicCryptoServerConfig::Config>
QuicCryptoServerConfigPeer::GetPrimaryConfig() { … }
quiche::QuicheReferenceCountedPointer<QuicCryptoServerConfig::Config>
QuicCryptoServerConfigPeer::GetConfig(std::string config_id) { … }
ProofSource* QuicCryptoServerConfigPeer::GetProofSource() const { … }
void QuicCryptoServerConfigPeer::ResetProofSource(
std::unique_ptr<ProofSource> proof_source) { … }
std::string QuicCryptoServerConfigPeer::NewSourceAddressToken(
std::string config_id, SourceAddressTokens previous_tokens,
const QuicIpAddress& ip, QuicRandom* rand, QuicWallTime now,
CachedNetworkParameters* cached_network_params) { … }
HandshakeFailureReason QuicCryptoServerConfigPeer::ValidateSourceAddressTokens(
std::string config_id, absl::string_view srct, const QuicIpAddress& ip,
QuicWallTime now, CachedNetworkParameters* cached_network_params) { … }
HandshakeFailureReason
QuicCryptoServerConfigPeer::ValidateSingleSourceAddressToken(
absl::string_view token, const QuicIpAddress& ip, QuicWallTime now) { … }
void QuicCryptoServerConfigPeer::CheckConfigs(
std::vector<std::pair<std::string, bool>> expected_ids_and_status) { … }
std::string QuicCryptoServerConfigPeer::ConfigsDebug() { … }
void QuicCryptoServerConfigPeer::SelectNewPrimaryConfig(int seconds) { … }
std::string QuicCryptoServerConfigPeer::CompressChain(
QuicCompressedCertsCache* compressed_certs_cache,
const quiche::QuicheReferenceCountedPointer<ProofSource::Chain>& chain,
const std::string& client_cached_cert_hashes) { … }
uint32_t QuicCryptoServerConfigPeer::source_address_token_future_secs() { … }
uint32_t QuicCryptoServerConfigPeer::source_address_token_lifetime_secs() { … }
}
}