Hi,
Please try PDDocument.loadNonSeq instead of load. It should then work
with 1.8.8.
If it still doesn't work, please open an issue in JIRA, but read this to
create a good bug report:
https://pdfbox.apache.org/support.html
Tilman
Am 09.01.2015 um 09:55 schrieb Barry Zhao [Zhao]:
Hi team,
On Fri, Jan 9, 2015 at 5:59 PM, Barry Zhao [Zhao] wrote:
> Hi Maruan Sahyoun and team,
>
> I change the dependence the V1.8.8.
> First, I run my code:
>
> PDDocument doc = PDDocument.load(originFile);
> if (doc.isEncrypted())
> {
> try
> {
> DecryptionMaterial dm = new StandardDecryptionMaterial
Hi Maruan Sahyoun and team,
I change the dependence the V1.8.8.
First, I run my code:
PDDocument doc = PDDocument.load(originFile);
if (doc.isEncrypted())
{
try
{
DecryptionMaterial dm = new StandardDecryptionMaterial("");
doc.openProtection(dm);
doc.setAllSecurityToBeRemoved(true);
}
catch (Exc
Hi,
could you try using PDFBox 1.8.8 as this should have been addressed there
[https://issues.apache.org/jira/browse/PDFBOX-2522]
BR
Maruan Sahyoun
Am 09.01.2015 um 09:55 schrieb Barry Zhao [Zhao] :
> Hi team,
>
> I use PDFBox V1.8.7.
> In Windows, it can work well.
> When I run my code in
Hi team,
I use PDFBox V1.8.7.
In Windows, it can work well.
When I run my code in Linux, I got the exception below:
java.io.IOException: javax.crypto.IllegalBlockSizeException: Input length
must be multiple of 16 when decrypting with padded cipher
at javax.crypto.CipherInputStream.getMoreData(Ciph
5 matches
Mail list logo