You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Rene Fischer (JIRA)" <ji...@apache.org> on 2013/07/01 16:05:20 UTC
[jira] [Comment Edited] (PDFBOX-1656) Enable PDFMergeUtility to
merge Encrypted PDFs
[ https://issues.apache.org/jira/browse/PDFBOX-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696831#comment-13696831 ]
Rene Fischer edited comment on PDFBOX-1656 at 7/1/13 2:05 PM:
--------------------------------------------------------------
PDFEncryptedMergerUtility contains the copied Version of PDFMergerUtility with the suggested changes
was (Author: fischey):
the copied Version of PDFMergerUtility with the suggested changes
> Enable PDFMergeUtility to merge Encrypted PDFs
> ----------------------------------------------
>
> Key: PDFBOX-1656
> URL: https://issues.apache.org/jira/browse/PDFBOX-1656
> Project: PDFBox
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 2.0.0
> Environment: Windows 7
> Reporter: Rene Fischer
> Priority: Trivial
> Labels: patch
> Attachments: PDFEncryptedMergerUtility.java
>
>
> The curent version of PDFMergerUtility is unable to merge PDFs which are encrypted. The implemented Check in line 227 will fail due to the load mechanism in line 186 (PDDocument.load(sourceFile))
> Changing the load mechanism in line 227 to PDDocument.loadNonSeq(File file, RandomAccess scratchFile) and "bouncy castle crypto" dependency included the merger will be able to handle encrypted pdfs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira