Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp80 CPDF_Dictionary* pEncryptDict) { in OnInit() argument
82 if (!LoadDict(pEncryptDict)) { in OnInit()
109 static FX_BOOL _LoadCryptInfo(CPDF_Dictionary* pEncryptDict, in _LoadCryptInfo() argument
113 int Version = pEncryptDict->GetInteger("V"); in _LoadCryptInfo()
117 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDict("CF"); in _LoadCryptInfo()
132 nKeyBits = pEncryptDict->GetInteger("Length", 128); in _LoadCryptInfo()
135 nKeyBits = pEncryptDict->GetInteger("Length", 256); in _LoadCryptInfo()
147 keylen = Version > 1 ? pEncryptDict->GetInteger("Length", 40) / 8 : 5; in _LoadCryptInfo()
154 FX_BOOL CPDF_StandardSecurityHandler::LoadDict(CPDF_Dictionary* pEncryptDict) { in LoadDict() argument
155 m_pEncryptDict = pEncryptDict; in LoadDict()
[all …]
Dfpdf_parser_parser.cpp317 if (CPDF_Dictionary* pEncryptDict = pEncryptObj->AsDictionary()) { in SetEncryptHandler() local
318 SetEncryptDictionary(pEncryptDict); in SetEncryptHandler()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h558 CPDF_Dictionary* pEncryptDict) = 0;
581 FX_BOOL OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict) override;
591 void OnCreate(CPDF_Dictionary* pEncryptDict,
599 void OnCreate(CPDF_Dictionary* pEncryptDict,
631 FX_BOOL LoadDict(CPDF_Dictionary* pEncryptDict);
632 FX_BOOL LoadDict(CPDF_Dictionary* pEncryptDict,
651 void AES256_SetPassword(CPDF_Dictionary* pEncryptDict,
656 void AES256_SetPerms(CPDF_Dictionary* pEncryptDict,
660 void OnCreate(CPDF_Dictionary* pEncryptDict,
684 virtual FX_BOOL Init(CPDF_Dictionary* pEncryptDict,
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp269 int32_t PDF_CreatorWriteEncrypt(const CPDF_Dictionary* pEncryptDict, in PDF_CreatorWriteEncrypt() argument
272 if (!pEncryptDict) { in PDF_CreatorWriteEncrypt()