Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp77 FX_BOOL CPDF_StandardSecurityHandler::OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict) in OnInit() argument
80 if (!LoadDict(pEncryptDict)) { in OnInit()
106 static FX_BOOL _LoadCryptInfo(CPDF_Dictionary* pEncryptDict, FX_BSTR name, int& cipher, int& keylen) in _LoadCryptInfo() argument
108 int Version = pEncryptDict->GetInteger(FX_BSTRC("V")); in _LoadCryptInfo()
112 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDict(FX_BSTRC("CF")); in _LoadCryptInfo()
127 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 128); in _LoadCryptInfo()
130 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 256); in _LoadCryptInfo()
142 keylen = Version > 1 ? pEncryptDict->GetInteger(FX_BSTRC("Length"), 40) / 8 : 5; in _LoadCryptInfo()
149 FX_BOOL CPDF_StandardSecurityHandler::LoadDict(CPDF_Dictionary* pEncryptDict) in LoadDict() argument
151 m_pEncryptDict = pEncryptDict; in LoadDict()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h589 virtual FX_BOOL OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict) = 0;
616 virtual FX_BOOL OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict);
630 void OnCreate(CPDF_Dictionary* pEncryptDict, CPDF_Array* pIdArray,
634 void OnCreate(CPDF_Dictionary* pEncryptDict, CPDF_Array* pIdArray,
660 FX_BOOL LoadDict(CPDF_Dictionary* pEncryptDict);
661 FX_BOOL LoadDict(CPDF_Dictionary* pEncryptDict, FX_DWORD type, int& cipher, int& key_len);
668 …void AES256_SetPassword(CPDF_Dictionary* pEncryptDict, FX_LPCBYTE password, FX_DWORD size, FX_B…
669 …void AES256_SetPerms(CPDF_Dictionary* pEncryptDict, FX_DWORD permission, FX_BOOL bEncryptMetada…
670 void OnCreate(CPDF_Dictionary* pEncryptDict, CPDF_Array* pIdArray,
691 … virtual FX_BOOL Init(CPDF_Dictionary* pEncryptDict, CPDF_SecurityHandler* pSecurityHandler) = 0;
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp262 FX_INT32 PDF_CreatorWriteEncrypt(const CPDF_Dictionary* pEncryptDict, FX_DWORD dwObjNum, CFX_FileBu… in PDF_CreatorWriteEncrypt() argument
264 if (!pEncryptDict) { in PDF_CreatorWriteEncrypt()