Save work on encrypted PDF reading.

This commit is contained in:
Michael R Sweet
2021-10-25 19:36:39 -04:00
parent 45c5a00252
commit 038046e6d5
5 changed files with 456 additions and 132 deletions

View File

@ -256,10 +256,10 @@ struct _pdfio_file_s // PDF file structure
pdfio_encryption_t encryption; // Encryption mode
pdfio_permission_t permissions; // Access permissions (encrypted PDF files)
uint8_t encryption_key[16], // Object encryption key
uint8_t file_key[16], // File encryption key
owner_key[32], // Owner encryption key
user_key[32]; // User encryption key
size_t encryption_keylen, // Length of encryption key
size_t file_keylen, // Length of file encryption key
owner_keylen, // Length of owner encryption key
user_keylen; // Length of user encryption key