Details
Description
ICEpdf is unable to open two Adobe 9 Pro encrypted files, one being password encrypted and the other certificate. Here are the results for the two sample files:
- IP-article-beta-cert.pdf - Running this certificate encrypted file with 3.1.2 and 4.0-beta results in the following error dialog: "This may be the result of an invalid password or missing security provider" and the following exception:
Jan 6, 2010 10:17:45 AM org.icepdf.ri.common.SwingController openDocument
FINE: Error opening document.
org.icepdf.core.exceptions.PDFSecurityException: Security Provider Not Found.
at org.icepdf.core.pobjects.security.SecurityManager.<init>(Unknown Source)
at org.icepdf.core.pobjects.Document.makeSecurityManager(Unknown Source)
- IP-article-beta-encrypt.pdf - This password protected file produces a dialog indicating that "the file may be corrupt or not a supported type" and the following exception:
Jan 6, 2010 10:19:27 AM org.icepdf.ri.common.SwingController openDocument
FINE: Error opening document.
java.io.IOException
at org.icepdf.core.pobjects.Document.setInputStream(Unknown Source)
at org.icepdf.core.pobjects.Document.setFile(Unknown Source)
at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269)
at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237)
- IP-article-beta-cert.pdf - Running this certificate encrypted file with 3.1.2 and 4.0-beta results in the following error dialog: "This may be the result of an invalid password or missing security provider" and the following exception:
Jan 6, 2010 10:17:45 AM org.icepdf.ri.common.SwingController openDocument
FINE: Error opening document.
org.icepdf.core.exceptions.PDFSecurityException: Security Provider Not Found.
at org.icepdf.core.pobjects.security.SecurityManager.<init>(Unknown Source)
at org.icepdf.core.pobjects.Document.makeSecurityManager(Unknown Source)
- IP-article-beta-encrypt.pdf - This password protected file produces a dialog indicating that "the file may be corrupt or not a supported type" and the following exception:
Jan 6, 2010 10:19:27 AM org.icepdf.ri.common.SwingController openDocument
FINE: Error opening document.
java.io.IOException
at org.icepdf.core.pobjects.Document.setInputStream(Unknown Source)
at org.icepdf.core.pobjects.Document.setFile(Unknown Source)
at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269)
at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237)
Issue Links
- depends on
-
PDF-122 Crypt Filter Support
- Closed
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000009eoAx] | |
Description |
ICEpdf is unable to open two Adobe 9 Pro encrypted files, one being password encrypted and the other certificate. Here are the results for the two sample files: IP-article-beta-cert.pdf - Running this certificate encrypted file with 3.1.2 and 4.0-beta results in the following error dialog: "This may be the result of an invalid password or missing security provider" and the following exception: Jan 6, 2010 10:17:45 AM org.icepdf.ri.common.SwingController openDocument FINE: Error opening document. org.icepdf.core.exceptions.PDFSecurityException: Security Provider Not Found. at org.icepdf.core.pobjects.security.SecurityManager.<init>(Unknown Source) at org.icepdf.core.pobjects.Document.makeSecurityManager(Unknown Source) - IP-article-beta-encrypt.pdf - This password protected file produces a dialog indicating that "the file may be corrupt or not a supported type" and the following exception: Jan 6, 2010 10:19:27 AM org.icepdf.ri.common.SwingController openDocument FINE: Error opening document. java.io.IOException at org.icepdf.core.pobjects.Document.setInputStream(Unknown Source) at org.icepdf.core.pobjects.Document.setFile(Unknown Source) at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269) at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237) |
ICEpdf is unable to open two Adobe 9 Pro encrypted files, one being password encrypted and the other certificate. Here are the results for the two sample files: - IP-article-beta-cert.pdf - Running this certificate encrypted file with 3.1.2 and 4.0-beta results in the following error dialog: "This may be the result of an invalid password or missing security provider" and the following exception: Jan 6, 2010 10:17:45 AM org.icepdf.ri.common.SwingController openDocument FINE: Error opening document. org.icepdf.core.exceptions.PDFSecurityException: Security Provider Not Found. at org.icepdf.core.pobjects.security.SecurityManager.<init>(Unknown Source) at org.icepdf.core.pobjects.Document.makeSecurityManager(Unknown Source) - IP-article-beta-encrypt.pdf - This password protected file produces a dialog indicating that "the file may be corrupt or not a supported type" and the following exception: Jan 6, 2010 10:19:27 AM org.icepdf.ri.common.SwingController openDocument FINE: Error opening document. java.io.IOException at org.icepdf.core.pobjects.Document.setInputStream(Unknown Source) at org.icepdf.core.pobjects.Document.setFile(Unknown Source) at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269) at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237) |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 10222 ] |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 10222 ] |
Patrick Corless
made changes -
Workaround Description |
The following demonstrates two common techniques to encrypt a PDF document using Acrobat Pro 9.0 that is compatible with ICEpdf 4.0. Encrypting an Open Documents - Go to the application menu bar and execute "Advanced -> Security -> Encrypt with Password". - A new dialog "Password Security - Setting" will open. - Change the "Compatibility:" select one menu property to "Acrobat 5.0 and later". - Click the "ok" button to save these settings. - The document will now encrypt using ICEpdf compatible encryption. Encrypting a Document with Distiller - Select the "Adobe PDF" printer when printing a document. - Once selected press the "Properties..." button to change the "Adobe PDF" printer properties. - A new dialog "Adobe PDF Document Properties" will open. - Click on the "Edit..." button for the "Default Settings:" property. - A new dialog "Standard - Adobe PDF Settings" dialog will open. - Change the "Compatibility:" select one menu property to "Acrobat 5.0 (PDF 1.4)" and click on "OK". - A prompt to save the settings will appear; name the changed property to "ICEpdf 4.0 Compat.joboptions", click the "Save" button and the dialogs will close. - Click "OK" on the "Adobe PDF Document Properties" dialog to close it. - Print to the "Adobe PDF" printer with the new encryption options. |
|
Workaround Exists | [Yes] |
Patrick Corless
made changes -
Fix Version/s | 4.1 [ 10227 ] |
Patrick Corless
made changes -
Fix Version/s | 4.2 [ 10243 ] | |
Fix Version/s | 4.1 [ 10227 ] |
Patrick Corless
made changes -
Assignee Priority | P3 |
Patrick Corless
made changes -
Fix Version/s | 4.2 [ 10243 ] |
Patrick Corless
made changes -
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Fix Version/s | 4.2.3 [ 10293 ] | |
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Fix Version/s | 4.3 [ 10266 ] | |
Fix Version/s | 4.2.3 [ 10293 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Unfortunately no time to fit into 4.2.