Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
4.67/5 (2 votes)
See more:
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
Updated 24-Sep-10 0:29am
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900