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.cpp97 bool CPDF_SecurityHandler::OnInit(const CPDF_Dictionary* pEncryptDict, in OnInit() argument
101 if (!LoadDict(pEncryptDict)) in OnInit()
125 static bool LoadCryptInfo(const CPDF_Dictionary* pEncryptDict, in LoadCryptInfo() argument
129 int Version = pEncryptDict->GetIntegerFor("V"); in LoadCryptInfo()
133 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDictFor("CF"); in LoadCryptInfo()
148 nKeyBits = pEncryptDict->GetIntegerFor("Length", 128); in LoadCryptInfo()
151 nKeyBits = pEncryptDict->GetIntegerFor("Length", 256); in LoadCryptInfo()
163 keylen = Version > 1 ? pEncryptDict->GetIntegerFor("Length", 40) / 8 : 5; in LoadCryptInfo()
171 bool CPDF_SecurityHandler::LoadDict(const CPDF_Dictionary* pEncryptDict) { in LoadDict() argument
172 m_pEncryptDict = pEncryptDict; in LoadDict()
[all …]
Dcpdf_security_handler.h30 bool OnInit(const CPDF_Dictionary* pEncryptDict,
33 void OnCreate(CPDF_Dictionary* pEncryptDict,
37 void OnCreate(CPDF_Dictionary* pEncryptDict,
56 bool LoadDict(const CPDF_Dictionary* pEncryptDict);
57 bool LoadDict(const CPDF_Dictionary* pEncryptDict,
72 void AES256_SetPassword(CPDF_Dictionary* pEncryptDict,
76 void AES256_SetPerms(CPDF_Dictionary* pEncryptDict,
80 void OnCreateInternal(CPDF_Dictionary* pEncryptDict,
Dcpdf_parser.cpp334 if (CPDF_Dictionary* pEncryptDict = pEncryptObj->AsDictionary()) { in SetEncryptHandler() local
335 SetEncryptDictionary(pEncryptDict); in SetEncryptHandler()