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!
![]() |
Signing PDF |
Post Reply
|
| Author | |
einar
Beginner
Joined: 18 Mar 10 Location: Norway Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: Signing PDFPosted: 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.
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
einar
Beginner
Joined: 18 Mar 10 Location: Norway Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
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(). |
|
![]() |
|
einar
Beginner
Joined: 18 Mar 10 Location: Norway Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
Rowan
Moderator Group
Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store