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

Interface for Elgamal-like signature algorithms. More...

#include <pubkey.h>

Inheritance diagram for DL_ElgamalLikeSignatureAlgorithm< T >:
[legend]

Public Member Functions

virtual ~DL_ElgamalLikeSignatureAlgorithm ()
 
virtual void Sign (const DL_GroupParameters< T > &params, const Integer &privateKey, const Integer &k, const Integer &e, Integer &r, Integer &s) const =0
 
virtual bool Verify (const DL_GroupParameters< T > &params, const DL_PublicKey< T > &publicKey, const Integer &e, const Integer &r, const Integer &s) const =0
 
virtual Integer RecoverPresignature (const DL_GroupParameters< T > &params, const DL_PublicKey< T > &publicKey, const Integer &r, const Integer &s) const
 
virtual size_t RLen (const DL_GroupParameters< T > &params) const
 
virtual size_t SLen (const DL_GroupParameters< T > &params) const
 
virtual bool IsDeterministic () const
 

Detailed Description

template<class T>
class DL_ElgamalLikeSignatureAlgorithm< T >

Interface for Elgamal-like signature algorithms.

Definition at line 1257 of file pubkey.h.

Constructor & Destructor Documentation

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

Definition at line 1260 of file pubkey.h.

Member Function Documentation

template<class T>
virtual bool DL_ElgamalLikeSignatureAlgorithm< T >::IsDeterministic ( ) const
inlinevirtual

Reimplemented in DL_Algorithm_DSA_RFC6979< T, H >, and DL_Algorithm_DSA_RFC6979< EC::Point, H >.

Definition at line 1275 of file pubkey.h.

Here is the caller graph for this function:

template<class T>
virtual Integer DL_ElgamalLikeSignatureAlgorithm< T >::RecoverPresignature ( const DL_GroupParameters< T > &  params,
const DL_PublicKey< T > &  publicKey,
const Integer r,
const Integer s 
) const
inlinevirtual

Definition at line 1264 of file pubkey.h.

Here is the caller graph for this function:

template<class T>
virtual size_t DL_ElgamalLikeSignatureAlgorithm< T >::RLen ( const DL_GroupParameters< T > &  params) const
inlinevirtual

Reimplemented in DL_Algorithm_LUC_HMP.

Definition at line 1270 of file pubkey.h.

Here is the caller graph for this function:

template<class T>
virtual void DL_ElgamalLikeSignatureAlgorithm< T >::Sign ( const DL_GroupParameters< T > &  params,
const Integer privateKey,
const Integer k,
const Integer e,
Integer r,
Integer s 
) const
pure virtual

Implemented in DL_Algorithm_NR< T >, DL_Algorithm_NR< EC::Point >, DL_Algorithm_GDSA_ISO15946< T >, DL_Algorithm_GDSA_ISO15946< EC::Point >, DL_Algorithm_LUC_HMP, DL_Algorithm_GDSA< T >, and DL_Algorithm_GDSA< EC::Point >.

Here is the caller graph for this function:

template<class T>
virtual size_t DL_ElgamalLikeSignatureAlgorithm< T >::SLen ( const DL_GroupParameters< T > &  params) const
inlinevirtual

Definition at line 1272 of file pubkey.h.

Here is the caller graph for this function:

template<class T>
virtual bool DL_ElgamalLikeSignatureAlgorithm< T >::Verify ( const DL_GroupParameters< T > &  params,
const DL_PublicKey< T > &  publicKey,
const Integer e,
const Integer r,
const Integer s 
) const
pure virtual

Implemented in DL_Algorithm_NR< T >, DL_Algorithm_NR< EC::Point >, DL_Algorithm_GDSA_ISO15946< T >, DL_Algorithm_GDSA_ISO15946< EC::Point >, DL_Algorithm_LUC_HMP, DL_Algorithm_GDSA< T >, and DL_Algorithm_GDSA< EC::Point >.

Here is the caller graph for this function:


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