#include <PdfEncrypt.h>
Inheritance diagram for PoDoFo::PdfEncryptRC4:
Public Member Functions | |
void | Encrypt (unsigned char *str, pdf_long len) const |
Encrypt a character string. | |
PdfInputStream * | CreateEncryptionInputStream (PdfInputStream *pInputStream) |
PdfOutputStream * | CreateEncryptionOutputStream (PdfOutputStream *pOutputStream) |
void | CreateEncryptionDictionary (PdfDictionary &rDictionary) const |
Client code is working only with PdfEncrypt class and knows nothing about PdfEncryptRC4, it is created through CreatePdfEncrypt factory method
|
Fill all keys into a encryption dictionary. This dictionary is usually added to the PDF files trailer under the /Encryption key.
Implements PoDoFo::PdfEncrypt. |
|
Create a PdfInputStream that decrypts all data read from it using the current settings of the PdfEncrypt object. Warning: Currently only RC4 based encryption is supported using output streams!
Implements PoDoFo::PdfEncrypt. |
|
Create a PdfOutputStream that encrypts all data written to it using the current settings of the PdfEncrypt object. Warning: Currently only RC4 based encryption is supported using output streams!
Implements PoDoFo::PdfEncrypt. |