Security Scol plugin
Public Types | Public Member Functions | Protected Member Functions | List of all members
DL_CryptoSystemBase< PK, KI > Class Template Referenceabstract

Discrete Log (DL) cryptosystem base implementation. More...

#include <pubkey.h>

Inheritance diagram for DL_CryptoSystemBase< PK, KI >:
DL_Base< KI > DL_DecryptorBase< SCHEME_OPTIONS::Element > DL_EncryptorBase< SCHEME_OPTIONS::Element > AlgorithmImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo > AlgorithmImpl< DL_EncryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo >

Public Types

typedef DL_Base< KI >::Element Element
 

Public Member Functions

size_t MaxPlaintextLength (size_t ciphertextLength) const
 
size_t CiphertextLength (size_t plaintextLength) const
 
bool ParameterSupported (const char *name) const
 

Protected Member Functions

virtual const DL_KeyAgreementAlgorithm< Element > & GetKeyAgreementAlgorithm () const =0
 
virtual const DL_KeyDerivationAlgorithm< Element > & GetKeyDerivationAlgorithm () const =0
 
virtual const DL_SymmetricEncryptionAlgorithmGetSymmetricEncryptionAlgorithm () const =0
 
- Protected Member Functions inherited from DL_Base< KI >
const DL_GroupParameters< Element > & GetAbstractGroupParameters () const
 
DL_GroupParameters< Element > & AccessAbstractGroupParameters ()
 
virtual KeyInterface & AccessKeyInterface ()=0
 
virtual const KeyInterface & GetKeyInterface () const =0
 

Additional Inherited Members

- Protected Types inherited from DL_Base< KI >
typedef KI KeyInterface
 
typedef KI::Element Element
 

Detailed Description

template<class PK, class KI>
class DL_CryptoSystemBase< PK, KI >

Discrete Log (DL) cryptosystem base implementation.

Template Parameters
PKfield element type
KIpublic or private key interface

Definition at line 1798 of file pubkey.h.

Member Typedef Documentation

◆ Element

template<class PK , class KI >
typedef DL_Base<KI>::Element DL_CryptoSystemBase< PK, KI >::Element

Definition at line 1801 of file pubkey.h.

Constructor & Destructor Documentation

◆ ~DL_CryptoSystemBase()

template<class PK , class KI >
virtual DL_CryptoSystemBase< PK, KI >::~DL_CryptoSystemBase ( )
inlinevirtual

Definition at line 1803 of file pubkey.h.

Member Function Documentation

◆ CiphertextLength()

template<class PK , class KI >
size_t DL_CryptoSystemBase< PK, KI >::CiphertextLength ( size_t  plaintextLength) const
inline

Definition at line 1811 of file pubkey.h.

◆ MaxPlaintextLength()

template<class PK , class KI >
size_t DL_CryptoSystemBase< PK, KI >::MaxPlaintextLength ( size_t  ciphertextLength) const
inline

Definition at line 1805 of file pubkey.h.

◆ ParameterSupported()

template<class PK , class KI >
bool DL_CryptoSystemBase< PK, KI >::ParameterSupported ( const char *  name) const
inline

Definition at line 1817 of file pubkey.h.


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