lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Public Member Functions | Public Attributes | List of all members
lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve > Struct Template Reference

Chain storing the DH and MKs associated with Nr(uint16_t map index) More...

Public Member Functions

 ReceiverKeyChain (const std::vector< uint8_t > &keyIndex)
 

Public Attributes

std::vector< uint8_t > DHrIndex
 
std::unordered_map< uint16_t, DRMKeymessageKeys
 

Detailed Description

template<typename Curve>
struct lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >

Chain storing the DH and MKs associated with Nr(uint16_t map index)

Template Parameters
CurveThe elliptic curve to use: C255 or C448

Constructor & Destructor Documentation

template<typename Curve >
lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::ReceiverKeyChain ( const std::vector< uint8_t > &  keyIndex)
inline

Start a new empty chain

Parameters
[in]keythe peer DH public key used on this chain

Member Data Documentation

template<typename Curve >
std::vector<uint8_t> lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::DHrIndex

peer public key(or a hash of it) identifying this chain

template<typename Curve >
std::unordered_map<uint16_t, DRMKey> lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::messageKeys

message keys indexed by Nr


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