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