#include <WPXEncryption.h>
Public Member Functions | |
| WPXEncryption (const char *password, const size_t encryptionStartOffset=0) | |
| ~WPXEncryption () | |
| const unsigned char * | readAndDecrypt (WPXInputStream *input, size_t numBytes, size_t &numBytesRead) |
| uint16_t | getCheckSum () const |
| void | setEncryptionStartOffset (size_t encryptionStartOffset) |
| size_t | getEncryptionStartOffset () const |
| void | setEncryptionMaskBase (unsigned char encryptionMaskBase) |
| unsigned char | getEncryptionMaskBase () const |
| const WPXString & | getEncryptionPassword () const |
Private Attributes | |
| unsigned char * | m_buffer |
| WPXString | m_password |
| size_t | m_encryptionStartOffset |
| unsigned char | m_encryptionMaskBase |
| WPXEncryption::WPXEncryption | ( | const char * | password, | |
| const size_t | encryptionStartOffset = 0 | |||
| ) |
| WPXEncryption::~WPXEncryption | ( | ) |
| const unsigned char * WPXEncryption::readAndDecrypt | ( | WPXInputStream * | input, | |
| size_t | numBytes, | |||
| size_t & | numBytesRead | |||
| ) |
| uint16_t WPXEncryption::getCheckSum | ( | ) | const |
| void WPXEncryption::setEncryptionStartOffset | ( | size_t | encryptionStartOffset | ) | [inline] |
| size_t WPXEncryption::getEncryptionStartOffset | ( | ) | const [inline] |
| void WPXEncryption::setEncryptionMaskBase | ( | unsigned char | encryptionMaskBase | ) | [inline] |
| unsigned char WPXEncryption::getEncryptionMaskBase | ( | ) | const [inline] |
| const WPXString& WPXEncryption::getEncryptionPassword | ( | ) | const [inline] |
unsigned char* WPXEncryption::m_buffer [private] |
WPXString WPXEncryption::m_password [private] |
size_t WPXEncryption::m_encryptionStartOffset [private] |
unsigned char WPXEncryption::m_encryptionMaskBase [private] |