Chain storing the DH and MKs associated with Nr(uint16_t map index).
More...
template<typename Curve>
struct lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >
Chain storing the DH and MKs associated with Nr(uint16_t map index).
- Template Parameters
-
| Curve | The elliptic curve to use: C255 or C448 |
◆ ReceiverKeyChain()
template<typename Curve>
| lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::ReceiverKeyChain |
( |
const std::vector< uint8_t > & | keyIndex | ) |
|
|
inline |
Start a new empty chain
- Parameters
-
| [in] | key | the peer DH public key used on this chain |
◆ DHrIndex
template<typename Curve>
| std::vector<uint8_t> lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::DHrIndex |
peer public key(or a hash of it) identifying this chain
◆ messageKeys
template<typename Curve>
| std::unordered_map<uint16_t, DRMKey> lime::anonymous_namespace{lime_double_ratchet.cpp}::ReceiverKeyChain< Curve >::messageKeys |
message keys indexed by Nr
The documentation for this struct was generated from the following file: