lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Public Member Functions | List of all members
lime::DSApair< Curve > Class Template Reference

Key pair structure for DSA algorithm. More...

Public Member Functions

DSA< Curve, lime::DSAtype::privateKey > & privateKey (void)
 access the private key More...
 
DSA< Curve, lime::DSAtype::publicKey > & publicKey (void)
 access the public key More...
 
 DSApair (DSA< Curve, lime::DSAtype::publicKey > &pub, DSA< Curve, lime::DSAtype::privateKey > &priv)
 copy construct a key pair from public and private keys (no verification on validity of keys is performed) More...
 
 DSApair ()
 
bool operator== (DSApair< Curve > b) const
 == operator assert that public and private keys are the same More...
 

Detailed Description

template<typename Curve>
class lime::DSApair< Curve >

Key pair structure for DSA algorithm.

Constructor & Destructor Documentation

◆ DSApair() [1/2]

template<typename Curve>
lime::DSApair< Curve >::DSApair ( DSA< Curve, lime::DSAtype::publicKey > &  pub,
DSA< Curve, lime::DSAtype::privateKey > &  priv 
)
inline

copy construct a key pair from public and private keys (no verification on validity of keys is performed)

◆ DSApair() [2/2]

template<typename Curve>
lime::DSApair< Curve >::DSApair ( )
inline

Member Function Documentation

◆ operator==()

template<typename Curve>
bool lime::DSApair< Curve >::operator== ( DSApair< Curve >  b) const
inline

== operator assert that public and private keys are the same

◆ privateKey()

template<typename Curve>
DSA<Curve, lime::DSAtype::privateKey>& lime::DSApair< Curve >::privateKey ( void  )
inline

access the private key

◆ publicKey()

template<typename Curve>
DSA<Curve, lime::DSAtype::publicKey>& lime::DSApair< Curve >::publicKey ( void  )
inline

access the public key


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