lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Public Types | Public Member Functions | Static Public Member Functions | List of all members
lime::ARrKey< Curve, false > Struct Template Reference

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. More...
 
serializedBuffer serialize (void) const
 

Static Public Member Functions

static constexpr size_t serializedSize (void)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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.

template<typename Curve >
const X<Curve, lime::Xtype::publicKey>& lime::ARrKey< Curve, false >::publicKey ( void  ) const
inline
template<typename Curve >
serializedBuffer lime::ARrKey< Curve, false >::serialize ( void  ) const
inline
template<typename Curve >
static constexpr size_t lime::ARrKey< Curve, false >::serializedSize ( void  )
inlinestatic

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