[
https://issues.apache.org/jira/browse/PDFBOX-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049052#comment-16049052
]
Lonzak commented on PDFBOX-3821:
--------------------------------
I commented the following code:
//if (accessPermissions == 0){
// setMDPPermission(doc, signature, 2);
//}
Theoretically you could change the PDF version however not in cases like
PDF/A-1 (and I don't know about the whole bunch of other PDF standards like
PDF-X etc)
> Newly added MDP functionality breaks PDFs
> -----------------------------------------
>
> Key: PDFBOX-3821
> URL: https://issues.apache.org/jira/browse/PDFBOX-3821
> Project: PDFBox
> Issue Type: Bug
> Components: Signing
> Affects Versions: 2.0.5, 2.0.6
> Reporter: Lonzak
> Attachments: Preflight2.png
>
>
> Changes introduced in PDFBOX-3017, PDFBOX-3699 broke the signing
> functionality.
> A perfectly valid PDF (in 2.0.4) doesn't pass the acrobat preflight test now:
> "Incorrect value type for this key" and "general file format error"
> "The required key /TransformMethod is missing" and "An unexpected value is
> associated with the key."
> More details see the attached screenshot. I executed the
> "CreateVisibleSignature.java" code. And if the lines are commented the error
> is gone.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]