Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Signing PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Signing PDF

 Post Reply Post Reply
Author
Message
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Topic: Signing PDF
    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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 10 at 8:14PM
Hi Einar!
 
If you don't get an answer here you should have a look here, too:
 
Cheers, Ingo
 
Back to Top
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post 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().  
Back to Top
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post 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? 
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 20 Oct 10 at 2:01PM
This knowledge base article should help you:


Quick PDF Library adds document level digital signatures. It does not let you digitally sign form field signatures.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store