You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Connor McLeod (JIRA)" <ji...@apache.org> on 2009/05/14 20:42:45 UTC

[jira] Commented: (PDFBOX-423) Can't detect if the PDF ( ver 1.7 ) is encrypted or not.

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

Connor McLeod commented on PDFBOX-423:
--------------------------------------

Looking at file I discovered somethinh that may help:

The problem with this file is that contains two EOF marks

PDFBox stops parsing at first %EOF mark, it checks trailer searching Encrypt and then find the object (25 0), but this object was after first %%EOF mark, so it doesn't find object and returns that document isn't signed.

Acording to PDF 32000-1:2008 Chapter 7.5.6 Incremental Updates, a PDF document can be updated incrementally ending update with a new trailer and a new %%EOF mark.

Object 25 0 can be found at update part.



> Can't detect if the PDF ( ver 1.7 ) is encrypted or not.
> --------------------------------------------------------
>
>                 Key: PDFBOX-423
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-423
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 0.8.0-incubator
>         Environment: Windows Vista
>            Reporter: Takashi Komatsubara
>         Attachments: pass17.pdf
>
>
> The latest PDFBox can't detect if the PDF ( Ver 1.7 ) created by Acrobat 9 is encrypted or not. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.