Invisible Sign not working

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v8)  /  Invisible Sign not working

DynamicPDF CoreSuite for .NET (v8) Forum

 Jun 13 2017 1:03 AM
I copied the code from help file, changed to my local file path, tested, not working. No signature added.

////////////////Invisible Signature///////////////////////////////

Document document = new Document();
Page page = new Page();

document.Pages.Add(page);
Certificate certificate = new Certificate(@"C:\PersonalFiles\JohnDoe.pfx", "password");

// Field name should not match any field names in the document
document.Sign("NonExistingField", certificate);
document.Draw(@"C:/MyDocument.pdf");

//////////////////////////////////////////////////////////////////
 Jun 13 2017 12:15 PM
Posted by a ceTe Software moderator
Hello,

If you are adding invisible signature to the PDF then it will not be displayed on the PDF page. You can view the signature details in the Navigation Pane of Adobe Reader (Adobe Reader menu bar>> View>>Show Hide>> Navigation Panes>>Signatures).

If you would like to add a visible signature then please use the below code sample.

            Document document = new Document();
            Page page = new Page();
            document.Pages.Add(page);
            Signature signatureField = new Signature("MySigField", 10, 10, 300, 100);
            page.Elements.Add(signatureField);
            Certificate certificateObj = new Certificate(@"path for certificate file", "pass word");
            document.Sign("MySigField", certificateObj);
            document.Draw("File path to save the PDF");

Thanks,
ceTe Software Support Team.
 Jun 13 2017 5:22 PM
Thanks for the information.

In adobe acrobat, it should have a tooltip show some information about the digital signature, if my signature has been signed with unknown certificate, it will show message "At least one signature has problems", and it also stop me to edit the signed pdf with message "This document has been signed and can not be edited".

But, with signing by dynamicpdf, either visible/invisible signature added, in adobe acrobat there is no tooltip on the signed pdf and I can edit signed pdf without warning message. (I can confirm I find the signature in signature panel, so, adding signature works)

Cheers.
 Jun 14 2017 4:50 PM
Posted by a ceTe Software moderator
Hello,

Please email the following details to support@cete.com if you want us to troubleshoot this further.

1. Signed PDF that works as expected in Acrobat Professional with respect to signature notifications.
2. Version of Adobe Acrobat Professional that you are using.
3. Signed PDF(s) created with DynamicPDF API that you think are not behaving correctly in Acrobat Professional.
4. Steps to be followed to see the signature behaviour in Acrobat Professional.
5. Code sample used to create the PDF.
6. Exact version and build number of the DynamicPDF DLL file. You can get this information in DLL reference properties (Version and Description fields) in Visual Studio.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 4:26 PM.