Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Private Types | List of all members
DL_PrivateKey< T > Class Template Referenceabstract

Interface for Discrete Log (DL) private keys. More...

#include <pubkey.h>

Inheritance diagram for DL_PrivateKey< T >:
[legend]
Collaboration diagram for DL_PrivateKey< T >:
[legend]

Public Types

typedef T Element
 

Public Member Functions

virtual ~DL_PrivateKey ()
 
void MakePublicKey (DL_PublicKey< T > &pub) const
 
bool GetVoidValue (const char *name, const std::type_info &valueType, void *pValue) const
 
void AssignFrom (const NameValuePairs &source)
 
virtual const IntegerGetPrivateExponent () const =0
 
virtual void SetPrivateExponent (const Integer &x)=0
 
- Public Member Functions inherited from DL_Key< T >
virtual ~DL_Key ()
 
virtual const DL_GroupParameters< T > & GetAbstractGroupParameters () const =0
 Retrieves abstract group parameters. More...
 
virtual DL_GroupParameters< T > & AccessAbstractGroupParameters ()=0
 Retrieves abstract group parameters. More...
 

Private Types

typedef DL_PrivateKey< TThisClass
 

Detailed Description

template<class T>
class DL_PrivateKey< T >

Interface for Discrete Log (DL) private keys.

Definition at line 1029 of file pubkey.h.

Member Typedef Documentation

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

Definition at line 1034 of file pubkey.h.

template<class T>
typedef DL_PrivateKey<T> DL_PrivateKey< T >::ThisClass
private

Definition at line 1031 of file pubkey.h.

Constructor & Destructor Documentation

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

Definition at line 1036 of file pubkey.h.

Member Function Documentation

template<class T>
void DL_PrivateKey< T >::AssignFrom ( const NameValuePairs source)
inline

Definition at line 1050 of file pubkey.h.

template<class T>
virtual const Integer& DL_PrivateKey< T >::GetPrivateExponent ( ) const
pure virtual

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

Here is the caller graph for this function:

template<class T>
bool DL_PrivateKey< T >::GetVoidValue ( const char *  name,
const std::type_info &  valueType,
void *  pValue 
) const
inline

Definition at line 1044 of file pubkey.h.

template<class T>
void DL_PrivateKey< T >::MakePublicKey ( DL_PublicKey< T > &  pub) const
inline

Definition at line 1038 of file pubkey.h.

Here is the caller graph for this function:

template<class T>
virtual void DL_PrivateKey< T >::SetPrivateExponent ( const Integer x)
pure virtual

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