#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/Decrypt.h>
Public Member Functions | |
| Decrypt (Guchar *fileKey, int keyLength, int objNum, int objGen) | |
| void | reset () |
| Guchar | decryptByte (Guchar c) |
Static Public Member Functions | |
| static GBool | makeFileKey (int encVersion, int encRevision, int keyLength, GString *ownerKey, GString *userKey, int permissions, GString *fileID, GString *ownerPassword, GString *userPassword, Guchar *fileKey, GBool *ownerPasswordOk) |
Static Private Member Functions | |
| static GBool | makeFileKey2 (int encVersion, int encRevision, int keyLength, GString *ownerKey, GString *userKey, int permissions, GString *fileID, GString *userPassword, Guchar *fileKey) |
Private Attributes | |
| int | objKeyLength |
| Guchar | objKey [21] |
| Guchar | state [256] |
| Guchar | x |
| Guchar | y |
|
||||||||||||||||||||
|
Definition at line 32 of file Decrypt.cc. References i, md5(), objKey, objKeyLength, rc4InitKey(), state, x, and y. |
|
|
Definition at line 59 of file Decrypt.cc. References rc4DecryptByte(), state, x, and y. Referenced by MemStream::doDecryption(), and Parser::getObj(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 63 of file Decrypt.cc. References GString::getChar(), GString::getCString(), GString::getLength(), gFalse, gTrue, i, len, makeFileKey2(), md5(), passwordPad, rc4DecryptByte(), and rc4InitKey(). Referenced by XRef::checkEncrypted(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 112 of file Decrypt.cc. References buf, GString::getChar(), GString::getCString(), GString::getLength(), gFalse, gfree(), gmalloc(), i, len, md5(), passwordPad, rc4DecryptByte(), and rc4InitKey(). Referenced by makeFileKey(). |
|
|
Definition at line 54 of file Decrypt.cc. References objKey, objKeyLength, rc4InitKey(), state, x, and y. Referenced by MemStream::reset(), and FileStream::reset(). |
|
|
|
|
|
|
|
|
Definition at line 55 of file Decrypt.h. Referenced by Decrypt(), decryptByte(), and reset(). |
|
|
Definition at line 56 of file Decrypt.h. Referenced by Decrypt(), decryptByte(), and reset(). |
|
|
Definition at line 56 of file Decrypt.h. Referenced by Decrypt(), decryptByte(), and reset(). |
1.4.2