Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp172 m_pEncryptDict = pEncryptDict; in LoadDict()
190 m_pEncryptDict = pEncryptDict; in LoadDict()
310 if (!m_pEncryptDict) in AES256_CheckPassword()
313 ByteString okey = m_pEncryptDict->GetStringFor("O"); in AES256_CheckPassword()
317 ByteString ukey = m_pEncryptDict->GetStringFor("U"); in AES256_CheckPassword()
352 ByteString ekey = m_pEncryptDict->GetStringFor(bOwner ? "OE" : "UE"); in AES256_CheckPassword()
365 ByteString perms = m_pEncryptDict->GetStringFor("Perms"); in AES256_CheckPassword()
411 CalcEncryptKey(m_pEncryptDict.Get(), password, key, key_len, in CheckUserPassword()
414 m_pEncryptDict ? m_pEncryptDict->GetStringFor("U") : ByteString(); in CheckUserPassword()
452 ByteString okey = m_pEncryptDict->GetStringFor("O"); in GetUserPassword()
[all …]
Dcpdf_parser.h74 CPDF_Dictionary* GetEncryptDict() const { return m_pEncryptDict.Get(); } in GetEncryptDict()
212 UnownedPtr<CPDF_Dictionary> m_pEncryptDict; variable
Dcpdf_security_handler.h91 UnownedPtr<const CPDF_Dictionary> m_pEncryptDict; variable
Dcpdf_parser.cpp179 m_pEncryptDict = pDict; in SetEncryptDictionary()
343 if (m_pEncryptDict) { in SetEncryptHandler()
344 ByteString filter = m_pEncryptDict->GetStringFor("Filter"); in SetEncryptHandler()
350 if (!pSecurityHandler->OnInit(m_pEncryptDict.Get(), GetIDArray(), in SetEncryptHandler()
1318 if (m_pEncryptDict && m_pEncryptDict->GetStringFor("Filter") == "Standard") { in GetPermissions()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.cpp146 m_pEncryptDict(m_pParser ? m_pParser->GetEncryptDict() : nullptr), in CPDF_Creator()
277 if (!GetCryptoHandler() || pObj == m_pEncryptDict) { in WriteDirectObj()
496 if (m_pEncryptDict && m_pEncryptDict->IsInline()) { in WriteDoc_Stage2()
499 if (!WriteIndirectObj(m_dwLastObjNum, m_pEncryptDict.Get())) in WriteDoc_Stage2()
661 if (m_pEncryptDict) { in WriteDoc_Stage4()
665 uint32_t dwObjNum = m_pEncryptDict->GetObjNum(); in WriteDoc_Stage4()
788 if (IsIncremental() && m_pEncryptDict && pID2) { in InitID()
800 if (m_pEncryptDict && !pOldIDArray && m_pParser && !idArrayPreExisting) { in InitID()
801 if (m_pEncryptDict->GetStringFor("Filter") == "Standard") { in InitID()
804 m_pSecurityHandler->OnCreate(m_pEncryptDict.Get(), m_pIDArray.get(), in InitID()
[all …]
Dcpdf_creator.h48 CPDF_Dictionary* GetEncryptDict() const { return m_pEncryptDict.Get(); } in GetEncryptDict()
88 UnownedPtr<CPDF_Dictionary> m_pEncryptDict; variable