helper class and functions to parse Double Ratchet message header and access its components
More...
|
uint16_t | Ns (void) const |
| read-only accessor to Sender Chain index (Ns) More...
|
|
uint16_t | PN (void) const |
| read-only accessor to Previous Sender Chain index (PN) More...
|
|
const X< Curve, lime::Xtype::publicKey > & | DHs (void) const |
| read-only accessor to peer Double Ratchet public key More...
|
|
bool | valid (void) const |
| is this header valid? (property is set by constructor/parser) More...
|
|
bool | payloadDirectEncryption (void) const |
| what encryption mode is advertised in this header More...
|
|
size_t | size (void) |
| read-only accessor to the size of parsed header More...
|
|
| DRHeader ()=delete |
|
| DRHeader (const std::vector< uint8_t > header) |
| parse a buffer to find a header at the begining of it More...
|
|
| ~DRHeader () |
|
template<typename Curve>
class lime::double_ratchet_protocol::DRHeader< Curve >
helper class and functions to parse Double Ratchet message header and access its components