Re: [iText-questions] Javascript is not working after document signing

2012-09-18 Thread Leonard Rosenthol
Because your disabled MODIFICATION of the page content - thus you can't change it :). -Original Message- From: Victor Sterpu [mailto:vic...@caido.ro] Sent: Sunday, September 16, 2012 12:45 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Javascript is not wo

Re: [iText-questions] Javascript is not working after document signing

2012-09-17 Thread 1T3XT BVBA
On 17/09/2012 13:01, Victor Sterpu wrote: > I need to replicate the Adobe signature. 1. The digital signing functionality has been refactored. See http://itextpdf.com/book/digitalsignatures for more info. 2. PAdES part 5 (signing the XML variant of PDF) isn't supported in iText. -

Re: [iText-questions] Javascript is not working after document signing

2012-09-17 Thread Victor Sterpu
I need to replicate the Adobe signature. So setEncryption is not what I need. But now I tryed to sign the document like here http://itextpdf.sourceforge.net/howtosign.html. But the function setCrypto is not found. PdfSignatureAppearance sap = stp.getSignatureAppearance(); sap.setCrypto(key, chai

Re: [iText-questions] Javascript is not working after document signing

2012-09-17 Thread iText Info
Op 17/09/2012 11:53, Victor Sterpu schreef: > You mean a price. How mutch? In this case, I didn't mean a price. I meant: we'd need too many counter-questions and guessing to answer. For instance: "If I crypt from adobe javascript is ok." It's impossible to "crypt from adobe javascript" so you prob

Re: [iText-questions] Javascript is not working after document signing

2012-09-16 Thread 1T3XT BVBA
On 16/09/2012 6:45, Victor Sterpu wrote: > After I sign a document like this: > pw.setEncryption The question is wrong. You don't 'SIGN' a document with setEncryption(). Also: you're mixing real PDF functionality with XFA functionality. We'd need more than a mail to explain what you're doing wrong.

[iText-questions] Javascript is not working after document signing

2012-09-15 Thread Victor Sterpu
After I sign a document like this: pw.setEncryption(null, OWNER, PdfWriter.ALLOW_PRINTING | PdfWriter.ALLOW_COPY , PdfWriter.STANDARD_ENCRYPTION_128); all java script in the PDF is not working. Page numbers and row shading are done with JS. How can I fix this? Thank you. ---