Home
last modified time | relevance | path

Searched refs:pEncryptDict (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp190 bool CPDF_SecurityHandler::OnInit(const CPDF_Dictionary* pEncryptDict, in OnInit() argument
197 if (!LoadDict(pEncryptDict)) in OnInit()
226 static bool LoadCryptInfo(const CPDF_Dictionary* pEncryptDict, in LoadCryptInfo() argument
230 int Version = pEncryptDict->GetIntegerFor("V"); in LoadCryptInfo()
235 const CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDictFor("CF"); in LoadCryptInfo()
250 nKeyBits = pEncryptDict->GetIntegerFor("Length", 128); in LoadCryptInfo()
253 nKeyBits = pEncryptDict->GetIntegerFor("Length", 256); in LoadCryptInfo()
267 keylen = Version > 1 ? pEncryptDict->GetIntegerFor("Length", 40) / 8 : 5; in LoadCryptInfo()
279 bool CPDF_SecurityHandler::LoadDict(const CPDF_Dictionary* pEncryptDict) { in LoadDict() argument
280 m_pEncryptDict.Reset(pEncryptDict); in LoadDict()
[all …]
Dcpdf_security_handler.h31 bool OnInit(const CPDF_Dictionary* pEncryptDict,
34 void OnCreate(CPDF_Dictionary* pEncryptDict,
38 void OnCreate(CPDF_Dictionary* pEncryptDict,
64 bool LoadDict(const CPDF_Dictionary* pEncryptDict);
65 bool LoadDict(const CPDF_Dictionary* pEncryptDict,
75 void AES256_SetPassword(CPDF_Dictionary* pEncryptDict,
78 void AES256_SetPerms(CPDF_Dictionary* pEncryptDict);
79 void OnCreateInternal(CPDF_Dictionary* pEncryptDict,
Dcpdf_parser.cpp241 const CPDF_Dictionary* pEncryptDict = GetEncryptDict(); in SetEncryptHandler() local
242 if (!pEncryptDict) in SetEncryptHandler()
245 if (pEncryptDict->GetStringFor("Filter") != "Standard") in SetEncryptHandler()
249 if (!pSecurityHandler->OnInit(pEncryptDict, GetIDArray(), GetPassword())) in SetEncryptHandler()