|
PoDoFo
0.9.1
|
#include <PdfEncrypt.h>
Inherited by PoDoFo::PdfEncryptMD5Base.
Protected Member Functions | |
| void | RC4 (const unsigned char *key, int keylen, const unsigned char *textin, pdf_long textlen, unsigned char *textout, pdf_long textoutlen) |
| AES encryption. | |
Protected Attributes | |
| RC4CryptoEngine * | m_rc4 |
| AES encryptor. | |
A pure virtual class that is used to encrypt a PDF file (RC4-40..128) This class is the base for classes that implement algorithms based on RC4
Client code is working only with PdfEncrypt class and knows nothing about PdfEncrypt*, it is created through CreatePdfEncrypt factory method
| void PoDoFo::PdfEncryptRC4Base::RC4 | ( | const unsigned char * | key, |
| int | keylen, | ||
| const unsigned char * | textin, | ||
| pdf_long | textlen, | ||
| unsigned char * | textout, | ||
| pdf_long | textoutlen | ||
| ) | [protected] |
AES encryption.
RC4 is the standard encryption algorithm used in PDF format
1.7.5.1