PoDoFo  0.9.1
Public Member Functions | List of all members
PoDoFo::PdfRC4Stream Class Reference

Public Member Functions

pdf_long Encrypt (char *pBuffer, pdf_long lLen)
 

Detailed Description

A class that can encrypt/decrpyt streamed data block wise This is used in the input and output stream encryption implementation. Only the RC4 encryption algorithm is supported

Member Function Documentation

pdf_long PoDoFo::PdfRC4Stream::Encrypt ( char *  pBuffer,
pdf_long  lLen 
)
inline

Encrypt or decrypt a block

Parameters
pBufferthe input/output buffer. Data is read from this buffer and also stored here
lLenthe size of the buffer