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

Free Support Forum - aspose.com

Aspose PDF Digital Signing


I am trying to add a digital certificate in to a PDF file using Aspose PDF. Everything seems to work as expected only one issue I am having. When I am trying to open the certificate in the PDF file, it is showing the "Signature Validity is UNKNOWN".

Is there anyway I can set the validity in code?



Hi Suman,

Thank you for your inquiry. Aspose.Pdf for .NET does provide a feature to add digital signature and verify the validity of the signature as well. Please see the following documentation link for more details and sample code.

Add Digital Signature in a PDF File (Facades)

Remove Digital Signature from the PDF File (Facades)

Verify whether the PDF File is Signed using a Signature (Facades)

Verify whether the Signature is Valid (Facades)

Please feel free to contact us for any further assistance.

Best Regards,