PoDoFo  0.9.4
Protected Member Functions | Protected Attributes | List of all members
PoDoFo::PdfEncryptRC4Base Class Reference

#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.

Detailed Description

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