Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Were you removing the LAST signature applied or an EARLIER one?
Copy link to clipboard
Copied
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ā.
Copy link to clipboard
Copied
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.