#include <WPXEncryption.h>
Public Member Functions | |
WPXEncryption (const char *password, const unsigned long encryptionStartOffset=0) | |
~WPXEncryption () | |
const unsigned char * | readAndDecrypt (librevenge::RVNGInputStream *input, unsigned long numBytes, unsigned long &numBytesRead) |
unsigned short | getCheckSum () const |
void | setEncryptionStartOffset (unsigned long encryptionStartOffset) |
unsigned long | getEncryptionStartOffset () const |
void | setEncryptionMaskBase (unsigned char encryptionMaskBase) |
unsigned char | getEncryptionMaskBase () const |
const librevenge::RVNGString & | getEncryptionPassword () const |
Private Member Functions | |
WPXEncryption (const WPXEncryption &) | |
WPXEncryption & | operator= (const WPXEncryption &) |
Private Attributes | |
unsigned char * | m_buffer |
librevenge::RVNGString | m_password |
unsigned long | m_encryptionStartOffset |
unsigned char | m_encryptionMaskBase |
WPXEncryption::WPXEncryption | ( | const char * | password, |
const unsigned long | encryptionStartOffset = 0 |
||
) |
WPXEncryption::WPXEncryption | ( | const WPXEncryption & | ) | [private] |
unsigned short WPXEncryption::getCheckSum | ( | ) | const |
unsigned char WPXEncryption::getEncryptionMaskBase | ( | ) | const [inline] |
Referenced by WP3ResourceFork::WP3ResourceFork().
const librevenge::RVNGString& WPXEncryption::getEncryptionPassword | ( | ) | const [inline] |
unsigned long WPXEncryption::getEncryptionStartOffset | ( | ) | const [inline] |
Referenced by WP3ResourceFork::WP3ResourceFork().
WPXEncryption& WPXEncryption::operator= | ( | const WPXEncryption & | ) | [private] |
const unsigned char * WPXEncryption::readAndDecrypt | ( | librevenge::RVNGInputStream * | input, |
unsigned long | numBytes, | ||
unsigned long & | numBytesRead | ||
) |
void WPXEncryption::setEncryptionMaskBase | ( | unsigned char | encryptionMaskBase | ) | [inline] |
Referenced by WP3ResourceFork::WP3ResourceFork().
void WPXEncryption::setEncryptionStartOffset | ( | unsigned long | encryptionStartOffset | ) | [inline] |
Referenced by WP3ResourceFork::WP3ResourceFork().
unsigned char* WPXEncryption::m_buffer [private] |
Referenced by readAndDecrypt(), and ~WPXEncryption().
unsigned char WPXEncryption::m_encryptionMaskBase [private] |
Referenced by getEncryptionMaskBase(), readAndDecrypt(), setEncryptionMaskBase(), and WPXEncryption().
unsigned long WPXEncryption::m_encryptionStartOffset [private] |
Referenced by getEncryptionStartOffset(), readAndDecrypt(), and setEncryptionStartOffset().
librevenge::RVNGString WPXEncryption::m_password [private] |
Referenced by getCheckSum(), getEncryptionPassword(), readAndDecrypt(), and WPXEncryption().