Searched refs:MockEncrypter (Results 1 – 3 of 3) sorted by relevance
22 MockEncrypter::MockEncrypter(Perspective perspective) {} in MockEncrypter() function in net::MockEncrypter24 bool MockEncrypter::SetKey(absl::string_view key) { in SetKey()28 bool MockEncrypter::SetNoncePrefix(absl::string_view nonce_prefix) { in SetNoncePrefix()32 bool MockEncrypter::SetIV(absl::string_view iv) { in SetIV()36 bool MockEncrypter::EncryptPacket(uint64_t /*packet_number*/, in EncryptPacket()51 bool MockEncrypter::SetHeaderProtectionKey(absl::string_view key) { in SetHeaderProtectionKey()55 std::string MockEncrypter::GenerateHeaderProtectionMask( in GenerateHeaderProtectionMask()60 size_t MockEncrypter::GetKeySize() const { in GetKeySize()64 size_t MockEncrypter::GetNoncePrefixSize() const { in GetNoncePrefixSize()68 size_t MockEncrypter::GetIVSize() const { in GetIVSize()[all …]
21 class MockEncrypter : public quic::QuicEncrypter {23 explicit MockEncrypter(quic::Perspective perspective);25 MockEncrypter(const MockEncrypter&) = delete;26 MockEncrypter& operator=(const MockEncrypter&) = delete;28 ~MockEncrypter() override = default;
152 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in CryptoConnect()206 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in CryptoConnect()318 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in NotifySessionOneRttKeyAvailable()