|
Security Scol plugin
|
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 > ¶ms, const DL_FixedBasePrecomputation< Element > &publicPrecomputation, const Integer &privateExponent) const =0 |
| virtual Element | AgreeWithStaticPrivateKey (const DL_GroupParameters< Element > ¶ms, const Element &publicElement, bool validateOtherPublicKey, const Integer &privateExponent) const =0 |
Interface for DL key agreement algorithms.
| T | Field element type or class |
Field element T can be Integer, ECP or EC2N.
| typedef T DL_KeyAgreementAlgorithm< T >::Element |
|
inlinevirtual |