Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Digital Signature Problem

firefox_zyw

2007-07-01

Replies:


Hello,
   I used the following codes to create signature for a exsiting pdf file
in iTextSharp:
    PdfReader reader = new PdfReader("test.pdf");
    FileStream fout = new FileStream("signed.pdf", FileMode.Create,
FileAccess.Write);
    PdfStamper stp = PdfStamper.CreateSignature(reader, fout, '\0',
null, true);
   It worked well. But how can I create signature for a pdf file before
it is created.
Namely,is there any api for me to create signature during the creating
progress of the file?
Is it possible? Or we can only create signatures for created pdf files.
   Looking forward for your advices.Thans!

   Best regards.
                                                     
firefoxyw
--
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.