lime
Lime is a C++ library implementing Open Whisper System Signal protocol
|
The encrypt function input/output data structure. More...
Public Attributes | |
char * | deviceId |
enum lime_ffi_PeerDeviceStatus | peerStatus |
uint8_t * | DRmessage |
size_t | DRmessageSize |
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
char* lime_ffi_RecipientData_t::deviceId |
input: recipient deviceId (shall be GRUU)
uint8_t* lime_ffi_RecipientData_t::DRmessage |
output: after encrypt calls back, it will hold the Double Ratchet message targeted to the specified recipient.
size_t lime_ffi_RecipientData_t::DRmessageSize |
input/output: size off the DRmessage buffer at input, size of written data as output
enum lime_ffi_PeerDeviceStatus lime_ffi_RecipientData_t::peerStatus |
output: after encrypt calls back, it will hold the status of this peer device: