extend the RecipientData to add a Double Ratchet session shared with the recipient
More...
template<typename Curve>
struct lime::RecipientInfos< Curve >
extend the RecipientData to add a Double Ratchet session shared with the recipient
◆ RecipientInfos() [1/2]
template<typename Curve >
The deviceId is a constant and must be provided to the constructor to instanciate the base RecipientData class.
- Note
- at construction, the peerStatus is always set to unknown as this status is then overriden with actual one fetched from DB, the ones not fetched are unknown
- Parameters
-
[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. |
◆ RecipientInfos() [2/2]
template<typename Curve >
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
◆ DRSession
template<typename Curve >
DR Session to reach recipient
The documentation for this struct was generated from the following file: