Description
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.