Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | List of all members
DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION > Class Template Reference

Diffie-Hellman key agreement algorithm. More...

#include <pubkey.h>

Inheritance diagram for DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >:
[legend]
Collaboration diagram for DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >:
[legend]

Public Types

typedef ELEMENT Element
 
- Public Types inherited from DL_KeyAgreementAlgorithm< ELEMENT >
typedef ELEMENT Element
 

Public Member Functions

CRYPTOPP_STATIC_CONSTEXPR const char *CRYPTOPP_API StaticAlgorithmName ()
 
virtual ~DL_KeyAgreementAlgorithm_DH ()
 
Element AgreeWithEphemeralPrivateKey (const DL_GroupParameters< Element > &params, const DL_FixedBasePrecomputation< Element > &publicPrecomputation, const Integer &privateExponent) const
 
Element AgreeWithStaticPrivateKey (const DL_GroupParameters< Element > &params, const Element &publicElement, bool validateOtherPublicKey, const Integer &privateExponent) const
 
- Public Member Functions inherited from DL_KeyAgreementAlgorithm< ELEMENT >
virtual ~DL_KeyAgreementAlgorithm ()
 

Detailed Description

template<class ELEMENT, class COFACTOR_OPTION>
class DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >

Diffie-Hellman key agreement algorithm.

Definition at line 1933 of file pubkey.h.

Member Typedef Documentation

template<class ELEMENT, class COFACTOR_OPTION>
typedef ELEMENT DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::Element

Definition at line 1936 of file pubkey.h.

Constructor & Destructor Documentation

template<class ELEMENT, class COFACTOR_OPTION>
virtual DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::~DL_KeyAgreementAlgorithm_DH ( )
inlinevirtual

Definition at line 1941 of file pubkey.h.

Member Function Documentation

template<class ELEMENT, class COFACTOR_OPTION>
Element DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::AgreeWithEphemeralPrivateKey ( const DL_GroupParameters< Element > &  params,
const DL_FixedBasePrecomputation< Element > &  publicPrecomputation,
const Integer privateExponent 
) const
inlinevirtual

Implements DL_KeyAgreementAlgorithm< ELEMENT >.

Definition at line 1943 of file pubkey.h.

template<class ELEMENT, class COFACTOR_OPTION>
Element DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::AgreeWithStaticPrivateKey ( const DL_GroupParameters< Element > &  params,
const Element publicElement,
bool  validateOtherPublicKey,
const Integer privateExponent 
) const
inlinevirtual

Implements DL_KeyAgreementAlgorithm< ELEMENT >.

Definition at line 1949 of file pubkey.h.

template<class ELEMENT, class COFACTOR_OPTION>
CRYPTOPP_STATIC_CONSTEXPR const char* CRYPTOPP_API DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::StaticAlgorithmName ( )
inline

Definition at line 1938 of file pubkey.h.


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