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

PublicKeyAlgorithm Class Reference

#include <cryptlib.h>

Inheritance diagram for PublicKeyAlgorithm:

AsymmetricAlgorithm Algorithm Clonable DigestVerifier PK_Encryptor PK_Verifier DL_DigestSignatureSystemBase< DigestVerifier, DL_PublicKey< SCHEME_OPTIONS::Element > > DL_DigestSignatureSystemBase< DigestVerifier, DL_PublicKey< T > > TF_DigestSignatureSystemBase< DigestVerifier, TF_Base< TrapdoorFunction > > DL_CryptoSystemBase< PK_Encryptor, DL_PublicKey< SCHEME_OPTIONS::Element > > PK_FixedLengthEncryptor PK_SignatureSchemeBase< H, PK_Verifier, DigestVerifier > PK_VerifierWithRecovery DL_DigestVerifierBase< SCHEME_OPTIONS::Element > DL_DigestVerifierBase< T > TF_DigestVerifierBase DL_EncryptorBase< SCHEME_OPTIONS::Element > DL_CryptoSystemBase< PK_FixedLengthEncryptor, DL_PublicKey< Integer > > TF_CryptoSystemBase< PK_FixedLengthEncryptor, TF_Base< RandomizedTrapdoorFunction > > PK_VerifierBase< H > VerifierWithRecoveryTemplate< TF, H > List of all members.

Detailed Description

interface for asymmetric algorithms using public keys

Definition at line 1061 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 PublicKey & AccessPublicKey ()=0
virtual const PublicKey & GetPublicKey () 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:25 2003 for Crypto++ by doxygen 1.3.2