Lines Matching refs:m_pData

1072     if( m_pData )  in ~PDFFile()
1073 delete m_pData; in ~PDFFile()
1087 if( ! m_pData->m_aCipher ) in decrypt()
1088 m_pData->m_aCipher = rtl_cipher_createARCFOUR( rtl_Cipher_ModeStream ); in decrypt()
1091 sal_uInt32 i = m_pData->m_nKeyLength; in decrypt()
1092 m_pData->m_aDecryptionKey[i++] = sal_uInt8(nObject&0xff); in decrypt()
1093 m_pData->m_aDecryptionKey[i++] = sal_uInt8((nObject>>8)&0xff); in decrypt()
1094 m_pData->m_aDecryptionKey[i++] = sal_uInt8((nObject>>16)&0xff); in decrypt()
1095 m_pData->m_aDecryptionKey[i++] = sal_uInt8(nGeneration&0xff); in decrypt()
1096 m_pData->m_aDecryptionKey[i++] = sal_uInt8((nGeneration>>8)&0xff); in decrypt()
1099 rtl_digest_updateMD5( m_pData->m_aDigest, m_pData->m_aDecryptionKey, i ); in decrypt()
1100 rtl_digest_getMD5( m_pData->m_aDigest, aSum, sizeof( aSum ) ); in decrypt()
1105 rtlCipherError aErr = rtl_cipher_initARCFOUR( m_pData->m_aCipher, in decrypt()
1110 aErr = rtl_cipher_decodeARCFOUR( m_pData->m_aCipher, in decrypt()
1225 if( ! m_pData->m_bStandardHandler || in setupDecryptionData()
1226 m_pData->m_nAlgoVersion < 1 || in setupDecryptionData()
1227 m_pData->m_nAlgoVersion > 2 || in setupDecryptionData()
1228 m_pData->m_nStandardRevision < 2 || in setupDecryptionData()
1229 m_pData->m_nStandardRevision > 3 ) in setupDecryptionData()
1232 if( ! m_pData->m_aCipher ) in setupDecryptionData()
1233 m_pData->m_aCipher = rtl_cipher_createARCFOUR(rtl_Cipher_ModeStream); in setupDecryptionData()
1234 if( ! m_pData->m_aDigest ) in setupDecryptionData()
1235 m_pData->m_aDigest = rtl_digest_createMD5(); in setupDecryptionData()
1238 bool bValid = check_user_password( rPwd, m_pData ); in setupDecryptionData()
1247 sal_uInt32 nKeyLen = password_to_key( rPwd, aKey, m_pData, true ); in setupDecryptionData()
1248 if( m_pData->m_nStandardRevision == 2 ) in setupDecryptionData()
1250 rtl_cipher_initARCFOUR( m_pData->m_aCipher, rtl_Cipher_DirectionDecode, in setupDecryptionData()
1252 rtl_cipher_decodeARCFOUR( m_pData->m_aCipher, in setupDecryptionData()
1253 m_pData->m_aOEntry, 32, in setupDecryptionData()
1256 else if( m_pData->m_nStandardRevision == 3 ) in setupDecryptionData()
1258 rtl_copyMemory( nPwd, m_pData->m_aOEntry, 32 ); in setupDecryptionData()
1264 rtl_cipher_initARCFOUR( m_pData->m_aCipher, rtl_Cipher_DirectionDecode, in setupDecryptionData()
1266 rtl_cipher_decodeARCFOUR( m_pData->m_aCipher, in setupDecryptionData()
1271 bValid = check_user_password( OString( (sal_Char*)nPwd, 32 ), m_pData ); in setupDecryptionData()
1282 for( sal_uInt32 i = 0; i < m_pData->m_nKeyLength; i++ ) in getDecryptionKey()
1286 aBuf.append( pHexTab[(m_pData->m_aDecryptionKey[i] >> 4) & 0x0f] ); in getDecryptionKey()
1287 aBuf.append( pHexTab[(m_pData->m_aDecryptionKey[i] & 0x0f)] ); in getDecryptionKey()
1296 if( m_pData ) in impl_getData()
1297 return m_pData; in impl_getData()
1298 m_pData = new PDFFileImplData(); in impl_getData()
1315 m_pData->m_aDocID = pStr->getFilteredString(); in impl_getData()
1318 for( int i = 0; i < m_pData->m_aDocID.getLength(); i++ ) in impl_getData()
1319 … fprintf( stderr, "%.2x", (unsigned int)sal_uInt8(m_pData->m_aDocID.getStr()[i]) ); in impl_getData()
1351 m_pData->m_bIsEncrypted = true; in impl_getData()
1352 m_pData->m_nKeyLength = 5; in impl_getData()
1357 m_pData->m_nAlgoVersion = static_cast<sal_uInt32>(pNum->m_fValue); in impl_getData()
1359 if( m_pData->m_nAlgoVersion >= 3 ) in impl_getData()
1360 m_pData->m_nKeyLength = 16; in impl_getData()
1365 m_pData->m_nKeyLength = static_cast<sal_uInt32>(pNum->m_fValue) / 8; in impl_getData()
1369 m_pData->m_bStandardHandler = true; in impl_getData()
1377 rtl_copyMemory( m_pData->m_aOEntry, aEnt.getStr(), 32 ); in impl_getData()
1396 rtl_copyMemory( m_pData->m_aUEntry, aEnt.getStr(), 32 ); in impl_getData()
1412m_pData->m_nStandardRevision = static_cast<sal_uInt32>(pNum->m_fValue); in impl_getData()
1418m_pData->m_nPEntry = static_cast<sal_uInt32>(static_cast<sal_Int32>(pNum->m_fValue)); in impl_getData()
1420 fprintf( stderr, "p entry is %p\n", (void*)m_pData->m_nPEntry ); in impl_getData()
1426 … (int)m_pData->m_nAlgoVersion, (int)m_pData->m_nStandardRevision, (int)m_pData->m_nKeyLength ); in impl_getData()
1435 return m_pData; in impl_getData()