Add support for EncryptMetadata key in encryption dictionary.

This commit is contained in:
Michael R Sweet
2025-04-23 10:07:44 -04:00
parent 404ca72882
commit 4ca93bd34f
4 changed files with 31 additions and 6 deletions

View File

@@ -507,7 +507,7 @@ _pdfioObjLoad(pdfio_obj_t *obj) // I - Object
}
// Decrypt as needed...
if (obj->pdf->encryption)
if (obj->pdf->encryption && obj->pdf->encrypt_metadata)
{
PDFIO_DEBUG("_pdfioObjLoad: Decrypting value...\n");