[
https://issues.apache.org/jira/browse/PDFBOX-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865323#comment-13865323
]
Thomas Chojecki commented on PDFBOX-1837:
-----------------------------------------
You're right, the api doc isn't complete at this point and the method does not
do what he should do for all cases.
If you want to know what a incremental save do, you can look at this page
http://blog.didierstevens.com/2008/05/07/solving-a-little-pdf-puzzle/
A normal save, rewrite the document from scratch. An incremental do the update
at the end of the document, without touching the original one. So the document
contains revisions.
A fully support for incremental update isn't planned yet but I think the new
pdfbox 2.x would be a candidate for that change.
> PDDocument.save(String) doesn't correctly save digital signatures
> -----------------------------------------------------------------
>
> Key: PDFBOX-1837
> URL: https://issues.apache.org/jira/browse/PDFBOX-1837
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.3
> Reporter: Álison Fernandes
> Assignee: Thomas Chojecki
> Priority: Blocker
>
> After digitally signing a PDF, if I save it with PDDocument.save(String),
> Adobe Reader reports the signature as invalid. The same doesn't happen if the
> PDF is saved with PDDocument.saveIncremental(FileInputStream, OutputStream).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)