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

DecryptorTemplate Class Template Reference

. More...

#include <pubkey.h>

Inheritance diagram for DecryptorTemplate:

PK_FixedLengthDecryptor CryptoSystemBaseTemplate PK_Decryptor PK_FixedLengthCryptoSystem PK_FixedLengthCryptoSystem PublicKeyBaseTemplate PK_CryptoSystem PK_CryptoSystem PK_CryptoSystem List of all members.

Public Methods

 ~DecryptorTemplate ()
unsigned int Decrypt (const byte *cipherText,byte *plainText)
 decrypt a byte string, and return the length of plaintext. More...


Protected Methods

 DecryptorTemplate ()

Detailed Description

template<class P, class F> class DecryptorTemplate

.

Definition at line 140 of file pubkey.h.


Constructor & Destructor Documentation

template<class P, class F>
DecryptorTemplate<P, F>::~DecryptorTemplate<P, F> ( ) [inline]
 

Definition at line 143 of file pubkey.h.

template<class P, class F>
DecryptorTemplate<P, F>::DecryptorTemplate<P, F> ( ) [inline, protected]
 

Definition at line 147 of file pubkey.h.


Member Function Documentation

template<class P, class F>
unsigned int DecryptorTemplate< P,F >::Decrypt ( const byte * cipherText,
byte * plainText ) [virtual]
 

decrypt a byte string, and return the length of plaintext.

Preconditions: \begin{itemize} \item length of cipherText == CipherTextLength() \item size of plainText == MaxPlainTextLength() \end{itemize}

The function returns the actual length of the plaintext, or 0 if decryption fails.

Reimplemented from PK_FixedLengthDecryptor.

Definition at line 21 of file pubkey.cpp.


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