Maybe you should show us the pdf.

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 08, 2005 6:11 AM
Subject: [iText-questions] Read a signed PDF document


>
>
>
>
>
> We've created PDF documents with Self-signed certificate, now we would
like
> to add a watermark on top of the document when printing.
> But I don't know how to read the signed PDF documents, the following error
> thrown when creating a new instance of PDFReader:
>
> java.lang.NullPointerException
>       at com.lowagie.text.pdf.PdfReader.readDecryptedDocObj(Unknown
Source)
>       at com.lowagie.text.pdf.PdfReader.readDocObj(Unknown Source)
>       at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
>       at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
>       at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
>       at WatermarkPDF.main(WatermarkPDF.java:29)
>
>
> Thanks
> ==========================================================================
> The information contained in this email (including any attachments) is
> confidential, subject to copyright and for the use of the intended
> recipient only. If you are not the intended recipient please delete this
> message after notifying the sender. Unauthorised retention, alteration or
> distribution of this email is forbidden and may be actionable.
>
> Attachments are opened at your own risk and you are advised to scan
> incoming email for viruses before opening any attached files. We give no
> guarantee that any communication is virus-free and accept no
responsibility
> for virus contamination or other system loss or damage of any kind.
>
==========================================================================N
¬HS^µésSX¬²s'²SÞu¼­.àè2SÞZ+aæ¥Áæâªájs^z)à&ér×?­ñ©?õÕ©"5zS{âµì¨ºÚÆTh­ëazV
­zËbÛs.Ê+y©Ývæ¥,¶©?',µç!z?hf&­¶¬~·z¢w¡¢êÞ½éí?<-yÖòð ©Ý5R
è­è"²×«¾+"¶m§ÿðÃir?¿,Ý¹©py¸§j¸"{j¹ë-S?ìT¨¥Sx%SËbMìmªç¬¶*'²X¬¶Ë(º·~Sàzw
­?Ûi³ÿåSËl²<«qçè®§zßåSËlþX¬¶)ߣø­{j¹ë-S?ì



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to