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.cpp79 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 …]
Dcpdf_parser.h61 CPDF_Dictionary* GetEncryptDict() const { return m_pEncryptDict; } in GetEncryptDict()
158 CPDF_Dictionary* m_pEncryptDict; variable
Dcpdf_parser.cpp59 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()
Dcpdf_security_handler.h102 CPDF_Dictionary* m_pEncryptDict; variable
/external/pdfium/core/fpdfapi/edit/
Dfpdf_edit_create.cpp815 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 …]
Dcpdf_creator.h81 CPDF_Dictionary* m_pEncryptDict; variable