PoDoFo 0.7.0
Public Member Functions

PoDoFo::PdfRC4Stream Class Reference

List of all members.

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