Pdf java digital signature does not support pdf version 2.0

Hi,

Currently we are facing issues with digitally signing pdf documents of pdf version 2.0,
the exception stack trace:
Exception has occured to: asposeSignPdf class com.aspose.pdf.exceptions.DeprecatedFeatureException: The value adbe.pkcs7.sha1 for the SubFilter key has been deprecated with PDF 2.0.
com.aspose.pdf.facades.PdfFileSignature.lI(Unknown Source)
com.aspose.pdf.facades.PdfFileSignature.sign(Unknown Source)
com.aspose.pdf.facades.PdfFileSignature.sign(Unknown Source)

This is easily replicated with a pdf document of version 2.0 from:

May I know is there any workaround or any viable solutions for this? I do not wish to use the PKCS7Detached class as it needs to be an embedded signature in the pdf document, PKCS1 class does not work as well.

Currently using aspose pdf java version 23.5

Thank you, would appreciate any help

@acnSu

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-43333

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Thanks, please do update me if this issue has been resolved

@acnSu

Sure, we will inform you in this forum thread as soon as the ticket is resolved.