Digital Signature. SHA1

Is there anyway to change from SHA1 to SHA256?

This is generated using Aspose PDF “PKCS1” class.
Screen Shot 2017-10-26 at 15.09.58.png (14.2 KB)

This is generated using Adobe PDF Reader.
Screen Shot 2017-10-26 at 15.10.36.png (12.8 KB)

If there’s more to be done to arrive at a SHA256 signature, am hoping you can guide me in the right direction. Thanks!


There is no way to sign a PDF with SHA256 signature. We have already logged a feature request under the ticket ID PDFNET-41994 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Do you have any time frame for using a more secure SHA algorithm ?



It is difficult to say which SHA algorithm is more secure. Please share details of your requirement. We will investigate and share our findings with you. Furthermore, you can apply encryption and decryption for the security purposes. Please refer to this help topic: Working with Security and Signatures with Aspose.Pdf API.

Hi @imran.rafique,

Thank you for your answer,

We Want to use Digital Signature feature (not encryption and decryption the Document)/
As it seems, Aspose.Pdf uses only SHA-1 for Digital Signatures.
The Standard says SHA-2 or better must be use.
Is there a way to digitally sign with SHA-2 ot better?
If not, Do you have any time frame for that?



We have logged your concerned under the same ticket ID PDFNET-41994 in our issue tracking system. We will let you know once a significant progress has been made in this regards.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

I’m also intersted in this feature.
What is the status of PDFNET-41994 ?



We have logged your concerns under the previously logged ticket as well and will surely inform you as soon as the enhancement request is fulfilled. Please give us some time.