Home
last modified time | relevance | path

Searched refs:m_pEncryptDict (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp68 m_pEncryptDict = NULL; in CPDF_StandardSecurityHandler()
151 m_pEncryptDict = pEncryptDict; in LoadDict()
171 m_pEncryptDict = pEncryptDict; in LoadDict()
294 …CFX_ByteString okey = m_pEncryptDict ? m_pEncryptDict->GetString(FX_BSTRC("O")) : CFX_ByteString(); in AES256_CheckPassword()
298 …CFX_ByteString ukey = m_pEncryptDict ? m_pEncryptDict->GetString(FX_BSTRC("U")) : CFX_ByteString(); in AES256_CheckPassword()
333 …CFX_ByteString ekey = m_pEncryptDict ? m_pEncryptDict->GetString(bOwner ? FX_BSTRC("OE") : FX_BSTR… in AES256_CheckPassword()
345 CFX_ByteString perms = m_pEncryptDict->GetString(FX_BSTRC("Perms")); in AES256_CheckPassword()
391 CalcEncryptKey(m_pEncryptDict, password, pass_size, key, key_len, bIgnoreEncryptMeta, in CheckUserPassword()
393 …CFX_ByteString ukey = m_pEncryptDict ? m_pEncryptDict->GetString(FX_BSTRC("U")) : CFX_ByteString(); in CheckUserPassword()
438 CFX_ByteString okey = m_pEncryptDict->GetString(FX_BSTRC("O")); in GetUserPassword()
[all …]
Dfpdf_parser_parser.cpp45 m_pEncryptDict = NULL; in CPDF_Parser()
65 m_pEncryptDict = pDict; in SetEncryptDictionary()
272 if (!m_pSecurityHandler->OnInit(this, m_pEncryptDict)) { in SetEncryptHandler()
276 if (!pCryptoHandler->Init(m_pEncryptDict, m_pSecurityHandler)) { in SetEncryptHandler()
282 } else if (m_pEncryptDict) { in SetEncryptHandler()
283 CFX_ByteString filter = m_pEncryptDict->GetString(FX_BSTRC("Filter")); in SetEncryptHandler()
293 if (!pSecurityHandler->OnInit(this, m_pEncryptDict)) { in SetEncryptHandler()
300 if (!pCryptoHandler->Init(m_pEncryptDict, m_pSecurityHandler)) { in SetEncryptHandler()
1468 if (m_pEncryptDict && m_pEncryptDict->GetString(FX_BSTRC("Filter")) == FX_BSTRC("Standard")) { in GetPermissions()
1471 if(bCheckRevision && m_pEncryptDict->GetInteger(FX_BSTRC("R")) == 2) { in GetPermissions()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp790 if (pCreator->m_pEncryptDict) { in GenerateXRefStream()
791 FX_DWORD dwEncryptObjNum = pCreator->m_pEncryptDict->GetObjNum(); in GenerateXRefStream()
795 … if ((len = PDF_CreatorWriteEncrypt(pCreator->m_pEncryptDict, dwEncryptObjNum, pFile)) < 0) { in GenerateXRefStream()
871 m_pEncryptDict = m_pParser->GetEncryptDict(); in CPDF_Creator()
874 m_pEncryptDict = NULL; in CPDF_Creator()
898 if (m_bEncryptCloned && m_pEncryptDict) { in ~CPDF_Creator()
899 m_pEncryptDict->Release(); in ~CPDF_Creator()
900 m_pEncryptDict = NULL; in ~CPDF_Creator()
936 if (pDict == m_pDocument->m_pRootDict || pDict == m_pEncryptDict) { in WriteIndirectObjectToStream()
1199 if (m_pCryptoHandler == NULL || pObj == m_pEncryptDict) { in WriteDirectObj()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h439 return m_pEncryptDict; in GetEncryptDict()
542 CPDF_Dictionary* m_pEncryptDict; variable
658 CPDF_Dictionary* m_pEncryptDict; variable
Dfpdf_serial.h143 CPDF_Dictionary* m_pEncryptDict; variable