|
lime
Lime is a C++ library implementing Open Whisper System Signal protocol
|
Public Member Functions | |
| uint16_t | Ns (void) const |
| read-only accessor to Sender Chain index (Ns) | |
| uint16_t | PN (void) const |
| read-only accessor to Previous Sender Chain index (PN) | |
| const lime::X< typename Algo::EC, lime::Xtype::publicKey > & | ECDHr (void) const |
| read-only accessor to peer EC Double Ratchet public key | |
| const lime::ARsKey< Algo >::serializedPublicBuffer & | DHr (void) const |
| read-only accessor to peer whole set of keys/ct :EC pk, KEM pk, KEM ct | |
| bool | valid (void) const |
| is this header valid? (property is set by constructor/parser) | |
| bool | payloadDirectEncryption (void) const |
| what encryption mode is advertised in this header | |
| bool | havePKIndex (void) const |
| is there a KEM public key in this header or just an index? | |
| size_t | size (void) |
| read-only accessor to the size of parsed header | |
| bool | isDHr (const ARrKey< Algo > &DHr) |
| compare the DHr in the header to the one given in parameter. Return true if they match | |
| bool | isDHsIndex (const ARsKey< Algo > &DHs) |
| compare the given DHs with the KEM DHsIndex present in header | |
| std::vector< uint8_t > | getDHrIndex (void) |
| std::vector< uint8_t > | getDHsIndex (void) |
| DRHeader ()=delete | |
| DRHeader (const std::vector< uint8_t > header) | |
| ~DRHeader () | |
| void | dump (std::ostringstream &os, std::string indent=" ") const |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
read-only accessor to peer EC Double Ratchet public key
|
inline |
|
inline |
|
inline |
is there a KEM public key in this header or just an index?
|
inline |
compare the DHr in the header to the one given in parameter. Return true if they match
|
inline |
compare the given DHs with the KEM DHsIndex present in header
|
inline |
read-only accessor to Sender Chain index (Ns)
|
inline |
what encryption mode is advertised in this header
|
inline |
read-only accessor to Previous Sender Chain index (PN)
|
inline |
read-only accessor to the size of parsed header
|
inline |
is this header valid? (property is set by constructor/parser)