#include <cryptlib.h>
Inheritance diagram for PK_Decryptor:

Public Methods | |
| virtual unsigned int | Decrypt (const byte *cipherText,unsigned int cipherTextLength,byte *plainText)=0 |
| decrypt a byte string, and return the length of plaintext. More... | |
An decryptor is also a private decryption key. It contains both the key and the algorithm to perform the decryption.
Definition at line 498 of file cryptlib.h.
|
|
decrypt a byte string, and return the length of plaintext. Precondition: size of plainText == MaxPlainTextLength(cipherTextLength) bytes. The function returns the actual length of the plaintext, or 0 if decryption fails. Reimplemented in BlumGoldwasserPrivateKey, PK_FixedLengthDecryptor, and ECDecryptor. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000