[ 
https://issues.apache.org/jira/browse/PDFBOX-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847531#comment-15847531
 ] 

Gurcan T edited comment on PDFBOX-3666 at 1/31/17 9:15 PM:
-----------------------------------------------------------

Finally solved. After debugging the code I have noticed that JCE was not 
properly 
installed. 

You can close this ticket.
Thanks
Gurcan


was (Author: [email protected]):
Finally solved. After debug the code I have noticed that JCE was not properly 
installed. 

You can close this ticket.
Thanks
Gurcan

> java.io.IOException: java.security.InvalidKeyException: Illegal key size
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-3666
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3666
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Crypto, PDModel
>    Affects Versions: 2.0.4
>         Environment: AIX - Websphere  - JDK 6
>            Reporter: Gurcan T
>
> Dear,
> When I try to write PDF document application raises following exception.
> java.io.IOException: java.security.InvalidKeyException: Illegal key size
> --at 
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareEncryptionDictRev6(StandardSecurityHandler.java:486)
> --at 
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareDocumentForEncryption(StandardSecurityHandler.java:390)
> --at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1305)
> --at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1254)
> --at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1232)
> Could you please help me on that issue?
> Here under some details : 
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pap6460sr16fp7ifix-20150930_02(SR16 
> FP7+IV77565))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 
> jvmap6460sr16fp7-20150701_255724 (JIT enabled, AOT enabled)
> Note : Java Cryptography API Unlimited Policy file has been installed.
> Thanks
> gurcan



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to