We have a process that is used to digitally sign signature fields, and then a digital certificate is applied. Unfortunately, some of the documents were not properly created and some of the signature fields are blank. I am in the process of trying to go back and update the signature fields, and re-sign the document. When I try to re-apply the certificate I get:
System.ArgumentException
HResult=0x80070057
Message=The document may contain at most one author signature!
Source=Syncfusion.Pdf.Portable
StackTrace:
at Syncfusion.Pdf.Security.PdfSignature.set_Certificated(Boolean value)
Is there a way I can update the fields, and re-sign the document? I have tried this, but unfortunately that removes the very fields I am trying to update. I have also tried applying a second signature as in this example but I still get the same error.