# DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION > Class Template Reference

`#include <pubkey.h>`

Inheritance diagram for DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >:

List of all members.

## Detailed Description

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

DH key agreement algorithm.

Definition at line 1434 of file pubkey.h.

## Public Types
typedef ELEMENT | Element
## Public Member Functions
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
## Static Public Member Functions
static const char *__cdecl | StaticAlgorithmName ()

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

- pubkey.h