Crypto++ 8.7
Free C++ class library of cryptographic schemes
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 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.

Template Parameters
TField element type or class

Field element T can be Integer, ECP or EC2N.

See also
DLIES, ECIES, ECIES_P1363

Definition at line 1476 of file pubkey.h.

Member Typedef Documentation

◆ Element

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

Definition at line 1479 of file pubkey.h.

Constructor & Destructor Documentation

◆ ~DL_KeyAgreementAlgorithm()

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

Definition at line 1481 of file pubkey.h.


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