Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: PDF
Hi all,
 
First of all, if I placed this in the wrong section, please help me and move it to right one, thanks!
 
I'm currently an intern and my principal has asked me the following:
 
To digitally sign a document which looks like it is on an analog paper. Just the name from the certificate, the date (preferably with verisign.dll) and just a picture from an image.
Also this signature has to be placed after a specific field ({docproperty "sincerely"} ) in Word.
 
I know PDFCreator can convert your Word-document to PDF/A-1b, because it is needed for long-term archiving. But how to tell the signature to be set after the field "sincerely" when you use iTextSharp to sign the document? Or do you have to convert the Word-document to PDF(/A?) using iTextSharp so you set the field-name in the PDF-file so the signature knows where in the document it can settle?
 
I've found some code for signing here but what do I have to change before it does what I wanted above? I've tested it, but (if you talk about appearances) still I get a check mark and the text "Digitally signed by", "Signature valid", "Reason" and "Location". Also it is placed in a fixed position instead of dynamically placed after the "sincerely" docproperty.
 
I've got no programming practice (in the near future I want to learn it, but now I've got a deadline), but I can interpret code and can change it a bit. So if someone can help me with this I'll be forever grateful.
Posted 15-Jan-10 5:59am
xxfile117
Edited 24-Sep-10 1:29am
(no name)242.3K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 475
1 Maciej Los 339
2 Richard MacCutchan 225
3 BillWoodruff 219
4 Suraj Sahoo | Coding Passion 155
0 OriginalGriff 8,759
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,269
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411028.1 | Last Updated 24 Sep 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100