proxygen
fizz::LoggingFactory Class Reference

#include <LoggingFactory.h>

Inheritance diagram for fizz::LoggingFactory:
fizz::Factory

Public Member Functions

 LoggingFactory ()=default
 
virtual ~LoggingFactory ()=default
 
virtual std::unique_ptr< KeySchedulermakeKeyScheduler (CipherSuite cipher) const
 
- Public Member Functions inherited from fizz::Factory
virtual ~Factory ()=default
 
virtual std::unique_ptr< PlaintextReadRecordLayermakePlaintextReadRecordLayer () const
 
virtual std::unique_ptr< PlaintextWriteRecordLayermakePlaintextWriteRecordLayer () const
 
virtual std::unique_ptr< EncryptedReadRecordLayermakeEncryptedReadRecordLayer (EncryptionLevel encryptionLevel) const
 
virtual std::unique_ptr< EncryptedWriteRecordLayermakeEncryptedWriteRecordLayer (EncryptionLevel encryptionLevel) const
 
virtual std::unique_ptr< KeyDerivationmakeKeyDeriver (CipherSuite cipher) const
 
virtual std::unique_ptr< HandshakeContextmakeHandshakeContext (CipherSuite cipher) const
 
virtual std::unique_ptr< KeyExchangemakeKeyExchange (NamedGroup group) const
 
virtual std::unique_ptr< AeadmakeAead (CipherSuite cipher) const
 
virtual Random makeRandom () const
 
virtual uint32_t makeTicketAgeAdd () const
 
virtual std::shared_ptr< PeerCertmakePeerCert (Buf certData) const
 
virtual std::string getHkdfPrefix () const
 

Detailed Description

Definition at line 16 of file LoggingFactory.h.

Constructor & Destructor Documentation

fizz::LoggingFactory::LoggingFactory ( )
default
virtual fizz::LoggingFactory::~LoggingFactory ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<KeyScheduler> fizz::LoggingFactory::makeKeyScheduler ( CipherSuite  cipher) const
inlinevirtual

Reimplemented from fizz::Factory.

Definition at line 21 of file LoggingFactory.h.

References fizz::Factory::makeKeyDeriver(), and folly::gen::move.

22  {
23  auto keyDer = makeKeyDeriver(cipher);
24  return std::make_unique<LoggingKeyScheduler>(std::move(keyDer));
25  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
CipherSuite cipher
virtual std::unique_ptr< KeyDerivation > makeKeyDeriver(CipherSuite cipher) const
Definition: Factory.h:62

The documentation for this class was generated from the following file: