Hi.
I’ve create two pdfs, one with Adobe Live Cycle Designer(V11.0.0.20130303.1.892433) - “Screen Capture-3.pdf”, another with Adobe Acrobat Pro DC 2015 - “Screen Capture - 2.pdf”.
If I add signature to existed signature fields in pdf which created in Adobe Acrobat Pro DC 2015, it works correctly.
But if I want to add signature to existed signature fields in pdf which created with Adobe Live Cycle, I get error - “Signature field ‘Signature1[0]’ is not defined.”
Could you tell me what is difference?
I use Aspose.pdf version - 11.3.0.
Code
var signatureFields = Document.Form.Fields.Where(item => item is SignatureField).Cast().ToList();
var signature = new PKCS1(signatureStream)
{
Authority = signatureInfo.Authority,
Reason = signatureInfo.Reason,
Location = signatureInfo.Location,
ContactInfo = signatureInfo.ContactInfo,
ShowProperties = signatureInfo.ShowProperties,
Date = DateTime.Now
};
signatureFields.ForEach(signatureField => signatureField.Sign(signature, pfxStream, _password));
The same result if i use PdfFileSignature from examples but only for existed signature fields