181 []() {
return std::make_unique<MockPlaintextReadRecordLayer>(); }));
185 auto ret = std::make_unique<MockPlaintextWriteRecordLayer>();
191 return std::make_unique<MockEncryptedReadRecordLayer>(
198 std::make_unique<MockEncryptedWriteRecordLayer>(encryptionLevel);
204 auto ret = std::make_unique<MockKeyScheduler>();
210 auto ret = std::make_unique<MockHandshakeContext>();
215 auto ret = std::make_unique<MockKeyExchange>();
220 auto ret = std::make_unique<MockAead>();
233 return std::make_unique<MockPeerCert>();
Integral2 random(Integral1 low, Integral2 up)
virtual std::unique_ptr< PlaintextReadRecordLayer > makePlaintextReadRecordLayer() const
virtual std::unique_ptr< KeyScheduler > makeKeyScheduler(CipherSuite cipher) const
virtual std::unique_ptr< KeyExchange > makeKeyExchange(NamedGroup group) const
virtual std::unique_ptr< Aead > makeAead(CipherSuite cipher) const
PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > InvokeWithoutArgs(FunctionImpl function_impl)
virtual std::unique_ptr< EncryptedReadRecordLayer > makeEncryptedReadRecordLayer(EncryptionLevel encryptionLevel) const
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke(FunctionImpl function_impl)
virtual std::unique_ptr< HandshakeContext > makeHandshakeContext(CipherSuite cipher) const
virtual std::unique_ptr< EncryptedWriteRecordLayer > makeEncryptedWriteRecordLayer(EncryptionLevel encryptionLevel) const
virtual uint32_t makeTicketAgeAdd() const
#define ON_CALL(obj, call)
const internal::AnythingMatcher _
virtual Random makeRandom() const
virtual std::unique_ptr< PlaintextWriteRecordLayer > makePlaintextWriteRecordLayer() const