lime
Lime is a C++ library implementing Open Whisper System Signal protocol
|
extend the RecipientData to add a Double Ratchet session shared with the recipient More...
#include <lime_double_ratchet.hpp>
Public Member Functions | |
RecipientInfos (const std::string &deviceId, std::shared_ptr< DR< Curve > > session) | |
RecipientInfos (const std::string &deviceId) | |
![]() | |
RecipientData (const std::string &deviceId) | |
Public Attributes | |
std::shared_ptr< DR< Curve > > | DRSession |
![]() | |
const std::string | deviceId |
lime::PeerDeviceStatus | peerStatus |
std::vector< uint8_t > | DRmessage |
extend the RecipientData to add a Double Ratchet session shared with the recipient
|
inline |
The deviceId is a constant and must be provided to the constructor to instanciate the base RecipientData class.
[in] | deviceId | The device Id (GRUU) of this recipient, used to build the RecipientData |
[in] | session | The double ratchet session linking current device with this recipient. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
forward the deviceId to the RecipientData constructor and set the DRSession pointer to nullptr
std::shared_ptr<DR<Curve> > lime::RecipientInfos< Curve >::DRSession |
DR Session to reach recipient