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

PK_CryptoSystem Class Reference

abstract base class for public-key encryptors and decryptors. More...

#include <cryptlib.h>

Inheritance diagram for PK_CryptoSystem:

PK_Decryptor PK_Encryptor PK_FixedLengthCryptoSystem BlumGoldwasserPrivateKey ECDecryptor PK_FixedLengthDecryptor BlumGoldwasserPublicKey PK_FixedLengthEncryptor CryptoSystemBaseTemplate PK_FixedLengthDecryptor PK_FixedLengthEncryptor List of all members.

Public Methods

virtual ~PK_CryptoSystem ()
virtual unsigned int MaxPlainTextLength (unsigned int cipherTextLength)const=0
 maximum length of plaintext for a given ciphertext length.

virtual unsigned int CipherTextLength (unsigned int plainTextLength)const=0
 calculate length of ciphertext given length of plaintext.


Detailed Description

abstract base class for public-key encryptors and decryptors.

This class provides an interface common to encryptors and decryptors for querying their plaintext and ciphertext lengths.

Definition at line 460 of file cryptlib.h.


Constructor & Destructor Documentation

PK_CryptoSystem::~PK_CryptoSystem ( ) [inline, virtual]
 

Definition at line 464 of file cryptlib.h.


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:16:58 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000