Skip to main content
Participant
April 16, 2025
Question

Sign with CryptSignMessage

  • April 16, 2025
  • 2 replies
  • 921 views

Hello. I'm signing a document with CryptSignMessage (C), but when I open the document in Adobe, it tells me it's been modified or corrupted. Any recommendations on where the problem might be?

2 replies

JR Boulay
Community Expert
Community Expert
April 18, 2025

[MOVED TO THE ACROBAT FORUM]

Acrobate du PDF, InDesigner et Photoshopographe
Thom Parker
Community Expert
Community Expert
April 16, 2025

I opened the file you posted with out any error messages, other than an invalid signature. What the type and version of Acrobat do you have? 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
April 16, 2025

I have version 2025.001.20435. The document does open, but when validating the signature, it indicates that it has been modified or corrupted. However, I've tried recalculating the SHA256 after adding the signature to the document, and it matches the one created before signing. I don't know what else I should check...

 

Thom Parker
Community Expert
Community Expert
April 17, 2025

Something must have happened to the document.  There is no way for us to debug this.  Try contacting Adobe support. Perhaps they have a bug. 

https://www.adobe.com/products/wishform.html

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often