Searched refs:m_pEncryptDict (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_security_handler.cpp | 79 m_pEncryptDict(nullptr), in CPDF_SecurityHandler() 166 m_pEncryptDict = pEncryptDict; in LoadDict() 185 m_pEncryptDict = pEncryptDict; in LoadDict() 314 if (!m_pEncryptDict) in AES256_CheckPassword() 317 CFX_ByteString okey = m_pEncryptDict->GetStringFor("O"); in AES256_CheckPassword() 321 CFX_ByteString ukey = m_pEncryptDict->GetStringFor("U"); in AES256_CheckPassword() 358 CFX_ByteString ekey = m_pEncryptDict in AES256_CheckPassword() 359 ? m_pEncryptDict->GetStringFor(bOwner ? "OE" : "UE") in AES256_CheckPassword() 372 CFX_ByteString perms = m_pEncryptDict->GetStringFor("Perms"); in AES256_CheckPassword() 419 CalcEncryptKey(m_pEncryptDict, password, pass_size, key, key_len, in CheckUserPassword() [all …]
|
D | cpdf_parser.h | 61 CPDF_Dictionary* GetEncryptDict() const { return m_pEncryptDict; } in GetEncryptDict() 158 CPDF_Dictionary* m_pEncryptDict; variable
|
D | cpdf_parser.cpp | 59 m_pEncryptDict(nullptr), in CPDF_Parser() 100 m_pEncryptDict = pDict; in SetEncryptDictionary() 241 if (m_pEncryptDict) { in SetEncryptHandler() 242 CFX_ByteString filter = m_pEncryptDict->GetStringFor("Filter"); in SetEncryptHandler() 252 if (!pSecurityHandler->OnInit(this, m_pEncryptDict)) in SetEncryptHandler() 258 if (!pCryptoHandler->Init(m_pEncryptDict, m_pSecurityHandler.get())) in SetEncryptHandler() 1409 if (m_pEncryptDict && m_pEncryptDict->GetStringFor("Filter") == "Standard") { in GetPermissions()
|
D | cpdf_security_handler.h | 102 CPDF_Dictionary* m_pEncryptDict; variable
|
/external/pdfium/core/fpdfapi/edit/ |
D | fpdf_edit_create.cpp | 815 if (pCreator->m_pEncryptDict) { in GenerateXRefStream() 816 uint32_t dwEncryptObjNum = pCreator->m_pEncryptDict->GetObjNum(); in GenerateXRefStream() 820 if ((len = PDF_CreatorWriteEncrypt(pCreator->m_pEncryptDict, in GenerateXRefStream() 883 m_pEncryptDict(m_pParser ? m_pParser->GetEncryptDict() : nullptr), in CPDF_Creator() 902 delete m_pEncryptDict; in ~CPDF_Creator() 903 m_pEncryptDict = nullptr; in ~CPDF_Creator() 927 if (pDict == m_pDocument->GetRoot() || pDict == m_pEncryptDict) in WriteIndirectObjectToStream() 1182 if (!m_pCryptoHandler || pObj == m_pEncryptDict) in WriteDirectObj() 1237 bool bObjStm = (object_type == 2) && m_pEncryptDict && !m_pXRefStream; in WriteOldIndirectObject() 1550 if (m_pEncryptDict && m_pEncryptDict->IsInline()) { in WriteDoc_Stage2() [all …]
|
D | cpdf_creator.h | 81 CPDF_Dictionary* m_pEncryptDict; variable
|