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 Jun 05, 2014 12:24 pm

Hi,

We are digitally singning pdfs', They are getting signed sucessfully and the digital signature is also visible.

But a green tick which appeares in a valid signature is not shown.

As fas s I know this tick is shown automatically. but as it is not showing cany you guide us as to how the same can be achived.

Regards

varun41935
 
Posts: 3
Joined: Wed Mar 19, 2014 5:10 am

Fri Jun 06, 2014 3:28 am

Hello,

Thanks for your feedback.
Please set the value of the Certificated property as false.
Code: Select all
PdfSignature signature = new PdfSignature(doc, page, cert, "demo");
signature.Certificated = false;

If there are any questions, welcome to get it back to us.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Fri Jun 06, 2014 5:17 am

Hi Gary,

Thanks for your prompt response.

We have actually done the same i.e. set the certificated property as false. (also tried other way round)

but still its not showing the green tick.

PS: The certificate is getting validated properly, i.e. if we check the certificate in the certificates tab on the left of adobe reader it is valid.
But the certificate visible on the page is not showing green tick.

Regards

varun41935
 
Posts: 3
Joined: Wed Mar 19, 2014 5:10 am

Fri Jun 06, 2014 9:21 am

Hello,

Thanks for your response.
Could you please attach your test codes for our testing? It would be helpful to reproduce the issue and work out the solution for you ASAP.
Thanks in advance,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Fri Jun 06, 2014 11:59 am

Hi,

Below is the code

Code: Select all
Spire.Pdf.Security.PdfSignature signature = new Spire.Pdf.Security.PdfSignature(doc, doc.Pages[0], digi, "demo");
                                                                signature.Bounds = new RectangleF(new PointF(210, 400), new SizeF(400, 300));
                                                                signature.IsTag = true;                                                               
                                                                signature.DocumentPermissions = PdfCertificationFlags.ForbidChanges;
                                                                signature.Certificated = false;



Regards

varun41935
 
Posts: 3
Joined: Wed Mar 19, 2014 5:10 am

Mon Jun 09, 2014 8:47 am

Hello,

Sorry for late reply as weekend.
Thanks for your additional information.
We think the issue(the certificate visible on the page is not showing green tick) is related to the Pdf reader you use, when I open it with adobe acrobat, there is the green tick shows on the signature(see adobe acrobat.png), with Adobe Reader, there is no the green tick(see adobereader.png).
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Jun 12, 2014 9:22 am

Hello,

Has the issue been resolved? Could you please give us some feedback if convenience?

If there are any questions, welcome to get it back to us.

Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.PDF