• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to delete digital signature for PDF file programatically

New Here ,
Nov 22, 2018 Nov 22, 2018

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 InvalidInvalid Signature.JPG

TOPICS
Security digital signatures and esignatures

Views

4.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
LEGEND ,
Nov 27, 2018 Nov 27, 2018

Copy link to clipboard

Copied

LATEST

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.

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 22, 2018 Nov 22, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 22, 2018 Nov 22, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 23, 2018 Nov 23, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 26, 2018 Nov 26, 2018

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”.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 27, 2018 Nov 27, 2018

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines