Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp841 if (pCreator->m_pEncryptDict) { in GenerateXRefStream()
842 FX_DWORD dwEncryptObjNum = pCreator->m_pEncryptDict->GetObjNum(); in GenerateXRefStream()
846 if ((len = PDF_CreatorWriteEncrypt(pCreator->m_pEncryptDict, in GenerateXRefStream()
919 m_pEncryptDict = m_pParser->GetEncryptDict(); in CPDF_Creator()
922 m_pEncryptDict = NULL; in CPDF_Creator()
945 if (m_bEncryptCloned && m_pEncryptDict) { in ~CPDF_Creator()
946 m_pEncryptDict->Release(); in ~CPDF_Creator()
947 m_pEncryptDict = NULL; in ~CPDF_Creator()
973 if (pDict == m_pDocument->m_pRootDict || pDict == m_pEncryptDict) in WriteIndirectObjectToStream()
1233 if (!m_pCryptoHandler || pObj == m_pEncryptDict) { in WriteDirectObj()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp72 m_pEncryptDict = NULL; in CPDF_StandardSecurityHandler()
155 m_pEncryptDict = pEncryptDict; in LoadDict()
177 m_pEncryptDict = pEncryptDict; in LoadDict()
305 m_pEncryptDict ? m_pEncryptDict->GetString("O") : CFX_ByteString(); in AES256_CheckPassword()
310 m_pEncryptDict ? m_pEncryptDict->GetString("U") : CFX_ByteString(); in AES256_CheckPassword()
347 CFX_ByteString ekey = m_pEncryptDict in AES256_CheckPassword()
348 ? m_pEncryptDict->GetString(bOwner ? "OE" : "UE") in AES256_CheckPassword()
361 CFX_ByteString perms = m_pEncryptDict->GetString("Perms"); in AES256_CheckPassword()
417 CalcEncryptKey(m_pEncryptDict, password, pass_size, key, key_len, in CheckUserPassword()
420 m_pEncryptDict ? m_pEncryptDict->GetString("U") : CFX_ByteString(); in CheckUserPassword()
[all …]
Dfpdf_parser_parser.cpp117 m_pEncryptDict = NULL; in CPDF_Parser()
138 m_pEncryptDict = pDict; in SetEncryptDictionary()
331 if (!m_pSecurityHandler->OnInit(this, m_pEncryptDict)) { in SetEncryptHandler()
336 if (!pCryptoHandler->Init(m_pEncryptDict, m_pSecurityHandler.get())) { in SetEncryptHandler()
340 } else if (m_pEncryptDict) { in SetEncryptHandler()
341 CFX_ByteString filter = m_pEncryptDict->GetString("Filter"); in SetEncryptHandler()
351 if (!pSecurityHandler->OnInit(this, m_pEncryptDict)) { in SetEncryptHandler()
357 if (!pCryptoHandler->Init(m_pEncryptDict, m_pSecurityHandler.get())) { in SetEncryptHandler()
1518 if (m_pEncryptDict && m_pEncryptDict->GetString("Filter") == "Standard") { in GetPermissions()
1521 if (bCheckRevision && m_pEncryptDict->GetInteger("R") == 2) { in GetPermissions()
/external/pdfium/core/include/fpdfapi/
Dfpdf_serial.h40 CPDF_Dictionary* m_pEncryptDict; variable
Dfpdf_parser.h404 CPDF_Dictionary* GetEncryptDict() { return m_pEncryptDict; } in GetEncryptDict()
488 CPDF_Dictionary* m_pEncryptDict; variable
629 CPDF_Dictionary* m_pEncryptDict; variable