lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Loading...
Searching...
No Matches
lime::ARrKey< Curve, false > Struct Template Reference

#include <lime_double_ratchet.hpp>

Public Types

using serializedBuffer = std::array<uint8_t, X<Curve, lime::Xtype::publicKey>::ssize()>

Public Member Functions

 ARrKey (const SignedPreKey< Curve > &SPk)
 ARrKey (const serializedBuffer &DHr)
 ARrKey ()
const X< Curve, lime::Xtype::publicKey > & publicKey (void) const
std::vector< uint8_t > getIndex (void) const
 Index is a hash of public key to identify it without sending/storing it all.
serializedBuffer serialize (void) const

Static Public Member Functions

static constexpr size_t serializedSize (void)

Member Typedef Documentation

◆ serializedBuffer

template<typename Curve>
using lime::ARrKey< Curve, false >::serializedBuffer = std::array<uint8_t, X<Curve, lime::Xtype::publicKey>::ssize()>

Constructor & Destructor Documentation

◆ ARrKey() [1/3]

template<typename Curve>
lime::ARrKey< Curve, false >::ARrKey ( const SignedPreKey< Curve > & SPk)
inline

◆ ARrKey() [2/3]

template<typename Curve>
lime::ARrKey< Curve, false >::ARrKey ( const serializedBuffer & DHr)
inline

◆ ARrKey() [3/3]

template<typename Curve>
lime::ARrKey< Curve, false >::ARrKey ( )
inline

Member Function Documentation

◆ getIndex()

template<typename Curve>
std::vector< uint8_t > lime::ARrKey< Curve, false >::getIndex ( void ) const
inline

Index is a hash of public key to identify it without sending/storing it all.

◆ publicKey()

template<typename Curve>
const X< Curve, lime::Xtype::publicKey > & lime::ARrKey< Curve, false >::publicKey ( void ) const
inline

◆ serialize()

template<typename Curve>
serializedBuffer lime::ARrKey< Curve, false >::serialize ( void ) const
inline

◆ serializedSize()

template<typename Curve>
constexpr size_t lime::ARrKey< Curve, false >::serializedSize ( void )
inlinestaticconstexpr

The documentation for this struct was generated from the following file: