PrivateKeyAlgorithm Class Reference

#include <cryptlib.h>

Inheritance diagram for PrivateKeyAlgorithm:

AsymmetricAlgorithm Algorithm Clonable PK_Decryptor PK_Signer DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< Integer > > DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > > DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< T > > PK_FixedLengthCryptoSystemImpl< PK_Decryptor > DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< SCHEME_OPTIONS::Element > > DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< T > > TF_SignatureSchemeBase< PK_Signer, TF_Base< RandomizedTrapdoorFunctionInverse, PK_SignatureMessageEncodingMethod > > DL_DecryptorBase< Integer > DL_DecryptorBase< SCHEME_OPTIONS::Element > DL_DecryptorBase< T > TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > > DL_SignerBase< SCHEME_OPTIONS::Element > DL_SignerBase< T > TF_SignerBase AlgorithmImpl< DL_DecryptorBase< Integer >, SchemeOptions::AlgorithmInfo > AlgorithmImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo > TF_DecryptorBase AlgorithmImpl< DL_SignerBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo > TwoBases< TF_SignerBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > > DL_ObjectImplBase< DL_DecryptorBase< Integer >, SchemeOptions, SchemeOptions::PrivateKey > DL_ObjectImplBase< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey > TwoBases< TF_DecryptorBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > > DL_ObjectImplBase< DL_SignerBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey > AlgorithmImpl< TwoBases< TF_SignerBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > >, SCHEME_OPTIONS::AlgorithmInfo > ElGamalObjectImpl< DL_DecryptorBase< Integer >, SchemeOptions, SchemeOptions::PrivateKey > DL_ObjectImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey > AlgorithmImpl< TwoBases< TF_DecryptorBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > >, SCHEME_OPTIONS::AlgorithmInfo > DL_ObjectImpl< DL_SignerBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey > TF_ObjectImplBase< TwoBases< TF_SignerBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > >, SCHEME_OPTIONS, PrivateKeyCopier< SCHEME_OPTIONS::Keys >::KeyClass > ElGamal::DecryptorImpl DL_PrivateObjectImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS > TF_ObjectImplBase< TwoBases< TF_DecryptorBase, PrivateKeyCopier< SCHEME_OPTIONS::Keys > >, SCHEME_OPTIONS, PrivateKeyCopier< SCHEME_OPTIONS::Keys >::KeyClass > DL_PrivateObjectImpl< DL_SignerBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS > TF_ObjectImpl< TF_SignerBase, SCHEME_OPTIONS, PrivateKeyCopier< SCHEME_OPTIONS::Keys > > DL_DecryptorImpl< SCHEME_OPTIONS > TF_ObjectImpl< TF_DecryptorBase, SCHEME_OPTIONS, PrivateKeyCopier< SCHEME_OPTIONS::Keys > > DL_SignerImpl< SCHEME_OPTIONS > TF_SignerImpl< SCHEME_OPTIONS > TF_DecryptorImpl< SCHEME_OPTIONS > List of all members.

Detailed Description

interface for asymmetric algorithms using private keys

Definition at line 1082 of file cryptlib.h.

Public Member Functions

CryptoMaterial & AccessMaterial ()
 returns a reference to the crypto material used by this object
const CryptoMaterial & GetMaterial () const
 returns a const reference to the crypto material used by this object
virtual PrivateKey & AccessPrivateKey ()=0
virtual const PrivateKey & GetPrivateKey () const
void BERDecode (BufferedTransformation &bt)
 for backwards compatibility, calls AccessMaterial().Load(bt)
void DEREncode (BufferedTransformation &bt) const
 for backwards compatibility, calls GetMaterial().Save(bt)
virtual std::string AlgorithmName () const
 returns name of this algorithm, not universally implemented yet
virtual Clonable * Clone () const
 this is not implemented by most classes yet


The documentation for this class was generated from the following file:
Generated on Thu Mar 30 22:12:20 2006 for Crypto++ by  doxygen 1.4.6