Re: [iText-questions] pdf signature verification

2009-05-14 Thread mingxun
I saw a similar exception in my application this week. The strange thing is that I have been using the same Digital ID to sign the signature in the last couple months without problem. Also I checked the detail property of the digital ID I am using for signing from Acrobat reader, the signature al

[iText-questions] Add Signature to mark other fields as read only

2009-03-17 Thread mingxun
Using Adobe Professional to add a signature, there is an option to mark other fields in the form as read only after signed. Is there a way to do this using iText? Also I saw that there is a function PdfSignatureAppearance.setVisibleSignature(String fieldName) which will make a signature visible. I

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-27 Thread mingxun
Thanks. That works. Ming 1T3XT info wrote: > > This is completely wrong: >> PdfAcroForm acroForm = stamp.getWriter().getAcroForm(); >> PdfFormField sigField = acroForm.addSignature("test", 300, >> 100, >> 400, 200); > > It causes: >> java.lang.RuntimeException: Unsupport

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-25 Thread mingxun
I am trying to add a signature field and then add some javascript associate this field to an existing pdf document. The code is something like this: PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("registered.pdf")); ByteArrayOutputStream baos =

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-24 Thread mingxun
Is there event for signature field is signed? Or is there PDFName for signature is signed? so that I can associate javascript with that event? Thanks for your help Ming Xun Huang 1T3XT info wrote: > > Huang, Ming wrote: >> I want to use iText to add some dynamic JavaScript which will be