Crypto++ 8.9
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
DL_Key< T > Class Template Referenceabstract

Base class for a Discrete Log (DL) key. More...

#include <pubkey.h>

+ Inheritance diagram for DL_Key< T >:

Public Member Functions

virtual const DL_GroupParameters< T > & GetAbstractGroupParameters () const =0
 Retrieves abstract group parameters.
 
virtual DL_GroupParameters< T > & AccessAbstractGroupParameters ()=0
 Retrieves abstract group parameters.
 

Detailed Description

template<class T>
class DL_Key< T >

Base class for a Discrete Log (DL) key.

Template Parameters
Tclass or type of an element

The element is usually an Integer, ECP::Point or EC2N::Point

Definition at line 1043 of file pubkey.h.

Constructor & Destructor Documentation

◆ ~DL_Key()

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

Definition at line 1046 of file pubkey.h.

Member Function Documentation

◆ GetAbstractGroupParameters()

template<class T >
virtual const DL_GroupParameters< T > & DL_Key< T >::GetAbstractGroupParameters ( ) const
pure virtual

Retrieves abstract group parameters.

Returns
a const reference to the group parameters

Implemented in DL_PrivateKeyImpl< GP >, DL_PrivateKeyImpl< DL_GroupParameters_EC< EC > >, DL_PublicKeyImpl< GP >, and DL_PublicKeyImpl< DL_GroupParameters_EC< EC > >.

◆ AccessAbstractGroupParameters()

template<class T >
virtual DL_GroupParameters< T > & DL_Key< T >::AccessAbstractGroupParameters ( )
pure virtual

Retrieves abstract group parameters.

Returns
a non-const reference to the group parameters

Implemented in DL_PrivateKeyImpl< GP >, DL_PrivateKeyImpl< DL_GroupParameters_EC< EC > >, DL_PublicKeyImpl< GP >, and DL_PublicKeyImpl< DL_GroupParameters_EC< EC > >.


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