lime
Lime is a C++ library implementing Open Whisper System Signal protocol
|
The encrypt function input/output data structure. More...
Public Member Functions | |
RecipientData (const std::string &deviceId) | |
Public Attributes | |
const std::string | deviceId |
lime::PeerDeviceStatus | peerStatus |
std::vector< uint8_t > | DRmessage |
The encrypt function input/output data structure.
give a recipient GRUU and get it back with the header which must be sent to recipient with the cipher text
|
inline |
recipient data are built giving a recipient id
[in] | deviceId | the recipient device Id (its GRUU) |
const std::string lime::RecipientData::deviceId |
input: recipient deviceId (shall be GRUU)
std::vector<uint8_t> lime::RecipientData::DRmessage |
output: after encrypt calls back, it will hold the Double Ratchet message targeted to the specified recipient.
lime::PeerDeviceStatus lime::RecipientData::peerStatus |
input: if set to fail, this entry will be ignored by the encrypt function
output: after encrypt calls back, it will hold the status of this peer device: