You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/10/31 12:19:17 UTC

[jira] [Closed] (PDFBOX-182) TestPublicKeyEncryption.java

     [ https://issues.apache.org/jira/browse/PDFBOX-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler closed PDFBOX-182.
-------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Andreas Lehmkühler

There isn't any sample pdf and the PDFBox and JDK version are quite old.

The issue can't be reproduced anymore -> set to closed

> TestPublicKeyEncryption.java
> ----------------------------
>
>                 Key: PDFBOX-182
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-182
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1517226
> Originally submitted by nobody on 2006-07-04 15:27.
> Hello,
> if I start the Example, i got the following
> error-message (with j2sdk1.4.2_12 and Adobe
> Acrobat 7.0):
> org.pdfbox.exceptions.COSVisitorException: 
> Unsupported keysize or algorithm parameters
>  at org.pdfbox.pdfwriter.COSWriter.write
> (COSWriter.java:1019)
>  at org.pdfbox.pdmodel.PDDocument.save
> (PDDocument.java:735)
>  at org.pdfbox.pdmodel.PDDocument.save
> (PDDocument.java:716)
>  at 
> test.pdfbox.encryption.TestPublicKeyEncryption.testPro
> tectionError(TestPublicKeyEncryption.java:132)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke
> (Method.java:324)
>  at junit.framework.TestCase.runTest
> (TestCase.java:154)
>  at junit.framework.TestCase.runBare
> (TestCase.java:127)
>  at junit.framework.TestResult$1.protect
> (TestResult.java:106)
>  at junit.framework.TestResult.runProtected
> (TestResult.java:124)
>  at junit.framework.TestResult.run
> (TestResult.java:109)
>  at junit.framework.TestCase.run
> (TestCase.java:118)
>  at junit.framework.TestSuite.runTest
> (TestSuite.java:208)
>  at junit.framework.TestSuite.run
> (TestSuite.java:203)
>  at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner
> .runTests(RemoteTestRunner.java:478)
>  at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner
> .run(RemoteTestRunner.java:344)
>  at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner
> .main(RemoteTestRunner.java:196)



--
This message was sent by Atlassian JIRA
(v6.1#6144)