Bug detected GDPicturePDF.DigiSign()

Discussions about PDF management.
Post Reply
Hannes
Posts: 1
Joined: Fri Jun 02, 2017 4:01 am

Bug detected GDPicturePDF.DigiSign()

Post by Hannes » Fri Jun 02, 2017 4:14 am

Using GDPicture 14.0.5, a stream created by http://guides.gdpicture.com/content/web ... ring).html produces a pdf file which has zero bytes.

The same works fine with GDPicture 14.0.0.

delbeke
Posts: 91
Joined: Wed Oct 31, 2012 5:07 pm

Re: Bug detected GDPicturePDF.DigiSign()

Post by delbeke » Tue Jun 13, 2017 10:59 am

Hi Hannes

I can not reproduce the problem on my side
Here is my code
GdPicturePDF oGdPicturePDF = new GdPicturePDF();
GdPictureStatus status = oGdPicturePDF.LoadFromFile(@"d:\pdfs\blank.pdf", false);
status = oGdPicturePDF.DigiSign(@"d:\pdfs\blank.signed.pdf", @"D:\GdPicture\Dev_utils\testing\certs\test.pfx", "test123", "The Reason", "The Location", "The Contact Info", "The Signer Name");
oGdPicturePDF.Dispose();

Can you control the returned status on your side ?

Best regards.
Jean-Luc

Gabriela
Posts: 41
Joined: Wed Nov 22, 2017 9:52 am

Re: Bug detected GDPicturePDF.DigiSign()

Post by Gabriela » Wed Nov 22, 2017 12:49 pm

Hi,
the feature has been updated and renewed. The DigiSign() method is already deprecated.
Here you can find a code snippet based on GdPicture.NET 14:

How to digitally sign or certify PDF documents
http://guides.gdpicture.com/content/web ... ents.html
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest