Document has beem altered or corrupted since it was signed

Good afternoon,


I am trying to sign a PDF deferred but keep getting “Document has been altered or corrupted since it was signed”.


I am following the samples,

External Signing: Working with Digital Signature | Syncfusion 

Deferred signing: Working with Digital Signature | Syncfusion

And https://www.syncfusion.com/forums/183069/document-has-been-altered-or-corrupted-since-it-was-signed-with-deffered-signing


I annexed the code, I was wondering if you could take a look and tell me what’s wrong


Attachment: codigo_abf14545.zip

2 Replies

FR Frederico Ruas Santos July 18, 2023 11:24 AM UTC

Got it to work, 

The way i was getting the signature hash was wrong.

I got the correct hash by converting to base64 the "message" variable in SignEmpty.Sign metod



IJ Irfana Jaffer Sadhik Syncfusion Team July 18, 2023 12:35 PM UTC

We are glad to know that your issue has been resolved.

We are marking this as closed. Please create a new ticket if you have any further queries. 


Loader.
Up arrow icon