Can you let me know how to use the external signature i.e. corporate 
certificate to sign and certify the document? Should I be using SELF_SIGNED 
mode or the WINCER_SIGNED mode? I exported our corporate certificate into PFX 
format and importing inthe code as specified in the examples.

When I use the SELf_SIGNED mode, the code works fine but gives me 
the "Document wants to print.." popup. Is it because I am trying to self sign 
the PDF and is altering the document, making the pdf unverifiable?

Then I tried using WINCER_SIGNED but it throws an exception as below:

java.lang.NoSuchFieldError: INSTANCE
        at com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(Unknown Source)
        at com.dlh.etc.juniper.reports.PDFCreator.addCert(PDFCreator
r.java:129)


Any idea what am I doing wrong?    


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to