Walter Colchado
Walter Colchado

Reputation: 347

How can I keep signatures in pdf after merge two files with PDFBox?

I'm merging two PDFs with digital signatures using PDFBox. However, the result is a pdf with the signatures in the document, but when opened in Acrobat Reader it shows that there aren't valid signatures as shown: enter image description here

How can I keep the signatures?

Upvotes: 0

Views: 3584

Answers (1)

Andreas
Andreas

Reputation: 159086

Signatures are used to authenticate that the PDF file is an original unmodified file.

When you merge files, you've modified them, so they are no longer originals, and hence the signature is invalid, as it should be.

You should remove the signatures to prevent the warning, and leave the merged PDF unsigned.

For an overview of changes allowed to a signed document see this answer.

Upvotes: 4

Related Questions