proxygen
fizz::HandshakeContext Class Referenceabstract

#include <HandshakeContext.h>

Inheritance diagram for fizz::HandshakeContext:
fizz::HandshakeContextImpl< Hash > fizz::test::MockHandshakeContext

Public Member Functions

virtual ~HandshakeContext ()=default
 
virtual void appendToTranscript (const Buf &transcript)=0
 
virtual Buf getHandshakeContext () const =0
 
virtual Buf getFinishedData (folly::ByteRange baseKey) const =0
 
virtual folly::ByteRange getBlankContext () const =0
 

Detailed Description

Keeps track of the handshake transcript and provides access to the handshake context.

Definition at line 20 of file HandshakeContext.h.

Constructor & Destructor Documentation

virtual fizz::HandshakeContext::~HandshakeContext ( )
virtualdefault

Member Function Documentation

virtual void fizz::HandshakeContext::appendToTranscript ( const Buf transcript)
pure virtual
virtual folly::ByteRange fizz::HandshakeContext::getBlankContext ( ) const
pure virtual

Returns the handshake context for an empty transcript.

Implemented in fizz::HandshakeContextImpl< Hash >.

Referenced by fizz::sm::encodeAndAddBinders().

virtual Buf fizz::HandshakeContext::getFinishedData ( folly::ByteRange  baseKey) const
pure virtual

Returns the finished verify_data from the current handshake context and baseKey.

Implemented in fizz::HandshakeContextImpl< Hash >.

Referenced by fizz::sm::encodeAndAddBinders(), and fizz::Protocol::getFinished().

virtual Buf fizz::HandshakeContext::getHandshakeContext ( ) const
pure virtual

Returns the handshake context for the current transcript.

Implemented in fizz::HandshakeContextImpl< Hash >.


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