We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose df java - Error in adding signature to pdf

Having an issue with the functionality to add a signature to a PDF

Here is the information related to Aspose.words for Java digital signature bug:
Current ticket: WORDSJAVA-636 (Unresolved)
Here is the stack trace when the exception is thrown:
java.lang.IllegalStateException: Select a valid signing certificate
at asposewobfuscated.BL.
Ã(Unknown Source)
at asposewobfuscated.GS.Ã(Unknown Source)
at asposewobfuscated.GS.Ã(Unknown Source)
at asposewobfuscated.IB.endDocument(Unknown Source)
at asposewobfuscated.GZ.endDocument(Unknown Source)
at com.aspose.words.ZVM.hp(Unknown Source)
at com.aspose.words.MZ.Ã(Unknown Source)
at com.aspose.words.Document.Ã(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

Hi Manish,

Thanks for contacting support.

If you need to add Digital signature to PDF document, then you must try using Aspose.Pdf.Kit for Java as it supports the feature to manipulate existing PDF files. Can you please share the source PDF file so that we can test the scenario at our end. We are sorry for this inconvenience.