Add signature in PDF

Hello.

When I sign a pdf (attached in this message) with Pkcs7Signature attached, when it view with Acrobat Reader 8 it shows correct but with Acrobat Reader 9 o later does not show.

What can i do to resolve this issue?

Thanks.

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

Thank you for the details.

Well, it seems a very strange issue. Please share your template file, sample code and certificate file with us. This will help us identify the issue and resolve it soon.

Sorry for the inconvenience,

Hi,

Template file is doc.pdf
Certificate file is cert.rar
Sample code:

Dim osign As New Aspose.Pdf.Kit.Pkcs7Signature(“c:\temp\cert.p12”, “sIikZSmz”)
Dim rect As New System.Drawing.Rectangle(430, 740, 100, 100)
Dim oPDFSign As New Aspose.Pdf.Kit.PdfFileSignature(“c:\temp\doc.pdf”)

oPDFSign.CertificationLevel = Aspose.Pdf.Kit.PdfFileSignature.CertifiedNoChangeAllowed
oPDFSign.Sign(1, “REASON”, “CONTACT”, “LOCATION”, True, rect, osign)
oPDFSign.Save(“C:\temp\sign.pdf”)

With Acrobat Reader 8 I can see signature digital but in Acrobat Reader 9 or later I can’t

Thanks.

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

Thank you for sharing the sample code and certificate file.<o:p></o:p>

I am able to generate an issue regarding applying signature
to your provided template document using the latest version of Aspose.Pdf for
.NET v6.6. The issue has been registered in our issue tracking system with
issue id:PDFNEWNET-33226. You will be notified via this forum thread regarding any update
against your issue.<o:p></o:p>

Sorry for the inconvenience,<o:p></o:p>

Hello.

I would like to know how is this issue.

Thank you.

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

Well, I am afraid; the issue is not resolved yet. However, I have requested the development team to share an ETA regarding the resolution of the issue. As soon as I get a response, I will update you via this forum thread.

Sorry for the inconvenience,

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

Over development team is investigating your issue and I
would like to share their finding with you.<o:p></o:p>

This issue is rather complex because it
concerns the way Adobe Reader/Acrobat opens pdf documents. Actually, the error
you see on opening signed PDF document doesn’t mean the problem with Aspose.Pdf
but Aspose.Pdf can do something that Adobe Reader/Acrobat consider wrong. As we
checked and signed PDF is opened in Foxit (and in other PDF readers) without
any problems. So what can be strange / suspicious for Adobe Reader/Acrobat?
Original PDF document (doc.pdf) has dynamic XFA form. That means the document doesn’t
have any standard PDF field. But signing add one standard PDF field (signature
field). So, this situation can be logically incorrect.

Adobe Acrobat doesn’t even allow to add signature into the PDF with XFA form. Also,
that after adding signature field PDF document loses extended user rights, i.e.
The form can’t be filled using Adobe Reader.
<o:p></o:p>

Our development team is further investigating
this issue to fix it. I will keep you posted via this forum thread.<o:p></o:p>

Sorry for the inconvenience,

Hello.

I would like to know how is this issue.

Thank you.

Hi,

Thanks for your patience.

I have verified the status of this issue from our issue tracking system and regret to share that this issue is still unresolved. Currently our team is working on this issue. Also, at the moment we can't provide you the ETA for this issue. However, I have requested the development team to share the ETA regarding its resolution. As soon as we get required information, we will be more than happy to update you with the status of correction. Please be patient and spare us little more time.

We are really sorry for the delay and inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33226) have been fixed in Aspose.Pdf for .NET 9.3.0.

Blog post for this release can be viewed over this link


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.