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

Free Support Forum - aspose.com

Feature request: Option to select the hashing algorithm for PDF digital signatures

The PDF digital signatures generated by Aspose.Words is hard coded to always use a specific hashing algorithm out of the SHA2 family, namely: SHA512.

Please add an option so the hashing algorithm to be used can be set via the API:
This could be done for example by adding a property named ‘HashingAlgorithm’ which is of an enum type containing at least the following declared values: SHA1, SHA256, SHA384, SHA512.
The default could still be SHA512 to be backwards compatible.

Why is this important:
Aspose.Words for .Net currently uses the functionality provided by the .Net API to perform the cryptographic processing like calculation of the hash used in the PDF digital signature and the .Net framework on its turn uses the Crypto API provided by the windows OS, which on Windows XP does not support any of the SHA2 family hashing algorithms.
Thus: Currently generating digital signatures for PDF documents with Aspose.Words for .Net on Windows XP results in an exception being thrown.


Thanks for your request and detailed description. I logged your request in our defect tracking system. We will consider adding such option in one of future version of Aspose.Words. We will let you know once the issue is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-4551) have been fixed in this .NET update and in this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.