Free Support Forum - aspose.com

How to sign a dynamic xml form document?

dear support team:

I’m trying to find a way to sign a PDF document which is built in adobe livecycle(the file save as “adobe dynamic xml form”),i found the sample code can’t sign the dynamic xml form ,but the code works good if the pdf is a static form!

sample code:

//“input.pdf” is a dynamic xml form
PdfFileSignature pdfSign = new PdfFileSignature(@“input.pdf”, @“sign_output2.pdf”);

System.Drawing.Rectangle rect = new System.Drawing.Rectangle(100, 100, 200, 100);

PKCS1 signature = new PKCS1(@“test.pfx”, “mypassword”);

pdfSign.Sign(1, “Signature Reason”, “Contact”, “Location”, true, rect, signature);

pdfSign.Save();

pdfSign.Close();


i wonder the aspose.pdf(ver 7.4) don’t suport sign the dynamic xml form ?

can you help me?
in the end,i am sorry my english is poor,i hope you would understand what’s my opinion!

waiting for help!

Hi Wang,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for the details.

I am afraid; signing dynamic XML forms is not supported at the moment using Aspose.Pdf for .NET. I have added a new feature request as PDFNEWNET-34530 in our issue tracking system. Our development team will further analyze and see if it can be supported in future. We will notify you via this forum thread regarding any updates.

Sorry for the inconvenience,