Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu May 03, 2018 8:53 pm

Hi
I tried to use PdfCertificate followed instruction, however the outcome PDF has "Signed by" instead of "Certified by".
Not sure it is because I am using trial version.
Code: Select all
            string dataDir = "C:\\Practice\\ApposeCerifiedSignature\\ApposeCerifiedSignature\\";
            PdfDocument doc = new PdfDocument(dataDir + "input.pdf");
            String pfxPath = "C:\\Practice\\ApposeCerifiedSignature\\ApposeCerifiedSignature\\LanLocal.pfx";
            PdfCertificate digi = new PdfCertificate(pfxPath, "WayPoint");
            PdfSignature signature = new PdfSignature(doc,doc.Pages[0], digi, "demo");
            signature.ContactInfo = "TEST";
            signature.Certificated = true;
            signature.DocumentPermissions = PdfCertificationFlags.ForbidChanges;
            doc.SaveToFile(dataDir + "output.pdf");


Thank you

lpdinh
 
Posts: 2
Joined: Thu May 03, 2018 6:27 pm

Fri May 04, 2018 7:57 am

Hello,

Thanks for your inquiry.
The issue is not caused by the version.
Generally, when setting the "signature.Certificated" to be "true", the signature should be displayed as "Certified by". It seems that there's something wrong with the attribute. Our dev team would look into it. I will keep you informed about the progress.
So sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team.
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu May 17, 2018 3:15 am

Hello lpdinh,

How are you?
Glad to inform that "Certified by" issue has been resolved and the hotfix(Spire.PDF Pack(Hot Fix) Version:4.5.3) is available now. The code you shared before could correctly display the "certified by" at present.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon May 28, 2018 7:17 pm

Dear Jane,

Thanks to you and your team for the hot fix. The issue is resolved. The document is showing Certified by now.

Regards

lpdinh
 
Posts: 2
Joined: Thu May 03, 2018 6:27 pm

Tue May 29, 2018 1:40 am

Dear lpdinh,

Thank you for your valuable feedback.
Just feel free to contact us if you need assistance.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF