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

PrivateKeyAlgorithm Class Reference

#include <cryptlib.h>

Inheritance diagram for PrivateKeyAlgorithm:

AsymmetricAlgorithm Algorithm Clonable PK_Decryptor PK_Signer DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< T > > PK_FixedLengthCryptoSystemImpl< PK_Decryptor > DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< T > > TF_SignatureSchemeBase< PK_Signer, TF_Base< RandomizedTrapdoorFunctionInverse, PK_SignatureMessageEncodingMethod > > DL_DecryptorBase< T > TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > > DL_SignerBase< T > TF_SignerBase TF_DecryptorBase List of all members.

Detailed Description

interface for asymmetric algorithms using private keys

Definition at line 1087 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 Sat Aug 28 17:25:03 2004 for Crypto++ by doxygen 1.3.8