WPXEncryption Class Reference

#include <WPXEncryption.h>

List of all members.

Public Member Functions

 WPXEncryption (const char *password, const unsigned long encryptionStartOffset=0)
 ~WPXEncryption ()
const unsigned char * readAndDecrypt (WPXInputStream *input, unsigned long numBytes, unsigned long &numBytesRead)
uint16_t getCheckSum () const
void setEncryptionStartOffset (unsigned long encryptionStartOffset)
unsigned long getEncryptionStartOffset () const
void setEncryptionMaskBase (unsigned char encryptionMaskBase)
unsigned char getEncryptionMaskBase () const
const WPXStringgetEncryptionPassword () const

Private Attributes

unsigned char * m_buffer
WPXString m_password
unsigned long m_encryptionStartOffset
unsigned char m_encryptionMaskBase


Constructor & Destructor Documentation

WPXEncryption::WPXEncryption ( const char *  password,
const unsigned long  encryptionStartOffset = 0 
)

WPXEncryption::~WPXEncryption (  ) 


Member Function Documentation

const unsigned char * WPXEncryption::readAndDecrypt ( WPXInputStream input,
unsigned long  numBytes,
unsigned long &  numBytesRead 
)

uint16_t WPXEncryption::getCheckSum (  )  const

void WPXEncryption::setEncryptionStartOffset ( unsigned long  encryptionStartOffset  )  [inline]

unsigned long WPXEncryption::getEncryptionStartOffset (  )  const [inline]

void WPXEncryption::setEncryptionMaskBase ( unsigned char  encryptionMaskBase  )  [inline]

unsigned char WPXEncryption::getEncryptionMaskBase (  )  const [inline]

const WPXString& WPXEncryption::getEncryptionPassword (  )  const [inline]


Member Data Documentation

unsigned char* WPXEncryption::m_buffer [private]

WPXString WPXEncryption::m_password [private]

unsigned long WPXEncryption::m_encryptionStartOffset [private]

unsigned char WPXEncryption::m_encryptionMaskBase [private]


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 10:48:13 2010 for libwpd by doxygen 1.5.4