Uploading existing SIGNED PDF

Uploading existing SIGNED PDF

Forum member · Oct 9, 2013
Hi fellow gurus, I have a PDF that supports extended feature for signature/certificate signing. Meaning that if I open up the PDF in Adobe Reader or via the web, i can click on the Signature box and Sign it. Now, After I sign it and save it, if I use Adobe Reader or via the web to open it directly, I can see the signature box signed and can view the signature property. However, if I use the MergeDocument to read it and then stream it to the client-browser, it looses the signature. What is worse, it looses the capability to SIGN. Meaning the extended property get turned off and signature box is locked down with EMPTY value. Please help. MergeDocument dd = new MergeDocument(@"c:\temp\PDFFormSigned.pdf", MergeOptions.All); dd.DrawToWeb();

Re: Uploading existing SIGNED PDF

Support · Oct 9, 2013
Hello, The ability to update and save the fields in Adobe Reader is called rights-enabled or extended features. When modifying such PDFs (that contain extended feature) using Merger it is not possible to preserve the extended features. Since the extended features is a proprietary feature of Adobe and not part of the PDF specification, Merger is unable to revalidate it and add it back to the document. Also it is not possible to preserve the digital signature in the output which is present in the input PDF document. Any changes to the document will invalidate the signature. This is desired behavior with our DynamicPDF Merger product. You can add signature to the already existing PDF document without any problem using our DynamicPDF Merger for .NET product. Please refer documentation on digital signing here . Thanks, ceTe Software Support Team.

Re: Uploading existing SIGNED PDF

Forum member · Oct 9, 2013
So if MergeDocument cannot do it, Is there anyway that I can open up the input PDF (with signature and extended feature turned on) using Document or PdfDocument to manipulate other FormFields that is in the PDF, and save it back without losing the signature and extended feature? The point is, I want to be able to edit the values in the FormFields, but NOT lose the signature and the extended feature. To "Sign" the document is not acceptable for us, since we don't keep the certificate/keys on the server side. So the document needs to be signed by the customers at the client side.

Re: Uploading existing SIGNED PDF

Support · Oct 9, 2013
Hello, It is not possible to preserve the digital signature or extended features using any of the classes available in the Merger API. When a PDF that contains digital signature is modified, by design the digital signatures on the PDF are invalidated. This is expected behavior and the only way around this is to reapply the digital signature to the modified PDF. Modifying the PDF with extended features will invalidate the extended features and it is not possible to prevent this. As the extended features are Adobe’s propriety feature it is not possible for Merger to reapply the extended features after the PDF is modified. Thanks, ceTe Software Support Team.

Re: Uploading existing SIGNED PDF

Forum member · Oct 9, 2013
okay.. last question regarding this signature certificate. using MergeDocument, or Document, or PdfDoucment to open an existing PDF that has signature signed, I noticed that I can see the signature as a FormField, but I can't get any of the information on the signature/certificate itself. For example, I can't see who signed it, and the key, etc. If i was able to get those information out, then perhaps we can do the "re-signing" using MergeDocument. Any sample codes on how to read the "SignatureFormField" key, owner, certificate properties? thanks

Re: Uploading existing SIGNED PDF

Support · Oct 10, 2013
Hello, It is not possible to retrieve the signature properties of a signed PDF. Thanks, ceTe Software Support Team.