Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | List of all members
DL_KeyAgreementAlgorithm< T > Class Template Referenceabstract

Interface for DL key agreement algorithms. More...

#include <pubkey.h>

Public Types

typedef T Element
 

Public Member Functions

virtual ~DL_KeyAgreementAlgorithm ()
 
virtual Element AgreeWithEphemeralPrivateKey (const DL_GroupParameters< Element > &params, const DL_FixedBasePrecomputation< Element > &publicPrecomputation, const Integer &privateExponent) const =0
 
virtual Element AgreeWithStaticPrivateKey (const DL_GroupParameters< Element > &params, const Element &publicElement, bool validateOtherPublicKey, const Integer &privateExponent) const =0
 

Detailed Description

template<class T>
class DL_KeyAgreementAlgorithm< T >

Interface for DL key agreement algorithms.

Definition at line 1291 of file pubkey.h.

Member Typedef Documentation

template<class T>
typedef T DL_KeyAgreementAlgorithm< T >::Element

Definition at line 1294 of file pubkey.h.

Constructor & Destructor Documentation

template<class T>
virtual DL_KeyAgreementAlgorithm< T >::~DL_KeyAgreementAlgorithm ( )
inlinevirtual

Definition at line 1296 of file pubkey.h.

Member Function Documentation

template<class T>
virtual Element DL_KeyAgreementAlgorithm< T >::AgreeWithEphemeralPrivateKey ( const DL_GroupParameters< Element > &  params,
const DL_FixedBasePrecomputation< Element > &  publicPrecomputation,
const Integer privateExponent 
) const
pure virtual

Implemented in DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >, and DL_KeyAgreementAlgorithm_DH< Integer, NoCofactorMultiplication >.

Here is the caller graph for this function:

template<class T>
virtual Element DL_KeyAgreementAlgorithm< T >::AgreeWithStaticPrivateKey ( const DL_GroupParameters< Element > &  params,
const Element publicElement,
bool  validateOtherPublicKey,
const Integer privateExponent 
) const
pure virtual

Implemented in DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >, and DL_KeyAgreementAlgorithm_DH< Integer, NoCofactorMultiplication >.

Here is the caller graph for this function:


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