Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

PrivateKeyAlgorithm Class Reference

#include <cryptlib.h>

Inheritance diagram for PrivateKeyAlgorithm:

AsymmetricAlgorithm Algorithm Clonable DigestSigner PK_Decryptor PK_Signer DL_DigestSignatureSystemBase< DigestSigner, DL_PrivateKey< SCHEME_OPTIONS::Element > > DL_DigestSignatureSystemBase< DigestSigner, DL_PrivateKey< T > > TF_DigestSignatureSystemBase< DigestSigner, TF_Base< RandomizedTrapdoorFunctionInverse > > DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > > PK_FixedLengthDecryptor PK_SignatureSchemeBase< H, PK_Signer, DigestSigner > PK_SignerWithRecovery DL_DigestSignerBase< SCHEME_OPTIONS::Element > DL_DigestSignerBase< T > TF_DigestSignerBase DL_DecryptorBase< SCHEME_OPTIONS::Element > DL_CryptoSystemBase< PK_FixedLengthDecryptor, DL_PrivateKey< Integer > > TF_CryptoSystemBase< PK_FixedLengthDecryptor, TF_Base< TrapdoorFunctionInverse > > PK_SignerBase< H > SignerWithRecoveryTemplate< TF, H > List of all members.

Detailed Description

interface for asymmetric algorithms using private keys

Definition at line 1074 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 Tue Jul 8 23:35:24 2003 for Crypto++ by doxygen 1.3.2