Print Page | Close Window

Signing PDF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1586
Printed Date: 06 May 25 at 4:16PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Signing PDF
Posted By: einar
Subject: Signing PDF
Date Posted: 02 Oct 10 at 1:18PM
I have a system that generates PDF reports that I need to sign and encrypt. What I still miss is showing a signature field on the report. I use nIndex=.oPdf.NewFormField(cSignField,6) and refers to the same field name in .oPdf.SignFile(), but it dosn't show up in Acrobat. I need a sample showing how to do this.



Replies:
Posted By: Ingo
Date Posted: 02 Oct 10 at 8:14PM
Hi Einar!
 
If you don't get an answer here you should have a look here, too:
http://help.quickpdflibrary.com/ - http://help.quickpdflibrary.com/ ?
 
Cheers, Ingo
 


Posted By: einar
Date Posted: 02 Oct 10 at 11:24PM

I don't get this right, so I try to explain further. I have a sequence that goes like this:

nIndex=.oPdf.NewFormField(cSignField,6)
.oPdf.SetFormFieldBounds(nIndex,this.GetKolPos(1),this.GetRadPos(58),200,48)
.oPDF.SaveToFile(tempfile)
nRes=.oPDF.SignFile(tempfile, '',cSignField,.RapportFil,('Myfile.pfx'),'pass','','','')
 
After saving to the tempfile, I have a unsigned field which I can manually sign in Acrobat. But after  
SignFile() my reportfile have no signaturefield. There is no error and I am sure it is written by SignFile().  


Posted By: einar
Date Posted: 04 Oct 10 at 10:17AM
I have figured out that the PDF file I have generated using Quick PDF looks fine and can be encoded, but not signed using SignFile()! I can sign it using Acrobat. The file is initially created using MS-Word and printed using a PDF printer to a template. Then it is filled with content using QuickPDF. After signing it using QuickPDF.SignFile() and reading it in Acrobat, the sign field is obviously removed. But I can sign the template using SignFile(), so what can be wrong here? 


Posted By: Rowan
Date Posted: 20 Oct 10 at 2:01PM
This knowledge base article should help you:

http://help.quickpdflibrary.com/questions/101/i-digitally-signed-a-pdf-but-i-cant-see-the-signature-in-the-document - http://help.quickpdflibrary.com/questions/101/i-digitally-signed-a-pdf-but-i-cant-see-the-signature-in-the-document

Quick PDF Library adds document level digital signatures. It does not let you digitally sign form field signatures.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk