Skip to main content
Participant
November 22, 2018
Answered

How to delete digital signature for PDF file programatically

  • November 22, 2018
  • 3 replies
  • 5089 views

How to delete digital signature for PDF file programatically.

Deleting one signature from PDF file, other signatures in the same  PDF file are becoming Invalid

This topic has been closed for replies.
Correct answer Test Screen Name

It is absolutely impossible by design to remove an earlier signature without invalidating the others, that could never work. But it should be possible to remove the latest if the file is not locked. To check if PDFBox is the problem, try with signature adding and removal in Acrobat. If this works the problem is PDFBox, and/or your removal process.

3 replies

Test Screen NameCorrect answer
Legend
November 27, 2018

It is absolutely impossible by design to remove an earlier signature without invalidating the others, that could never work. But it should be possible to remove the latest if the file is not locked. To check if PDFBox is the problem, try with signature adding and removal in Acrobat. If this works the problem is PDFBox, and/or your removal process.

Legend
November 23, 2018

Were you removing the LAST signature applied or an EARLIER one?

Participant
November 27, 2018

Sorry for the delay in response.

Two use-cases are involved.

First usecase, will delete Last applied signature.

Second usecase, will delete earlier signature.

In either of the use cases, other signature should not be invalidated.

Please help us out. our product delivery depend on this.

Adding Signature: To add multiple signature using incremental save using PDFBOX2.0.4 API.

Tried methodology (To delete signature): Removed signature filed from found in ‘AcroForm”.

Legend
November 22, 2018

How are you deleting them now? Were you removing the LAST signature applied or an EARLIER one?

I don't think Acrobat has any API for signature removal.

Participant
November 23, 2018

API Used: PDFBox2.0.4

PDF signed with Multiple signatures.

We are able to remove the signature, but it makes other signatures invalid in the PDF.

Any help is appreciated.