# DL_KeyAgreementAlgorithm< T > Class Template Reference

`#include <pubkey.h>`

List of all members.

## Detailed Description

### template<class T>
class DL_KeyAgreementAlgorithm< T >

interface for DL key agreement algorithms

Definition at line 915 of file pubkey.h.

## Public Types
typedef T | Element
## Public Member Functions
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

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

- pubkey.h