Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-22 Thread mkl
Oscar, mkl wrote: > > > OscarP wrote: >> >> OK, I'm attaching a signed PDF and the code I'm using to obtain the >> revision. But the first revision obtained with this code contains the >> signature field. How can I obtain a revision without the signature field? >> >> [...] >> >> http://www

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-21 Thread mkl
Oscar, OscarP wrote: > > OK, I'm attaching a signed PDF and the code I'm using to obtain the > revision. But the first revision obtained with this code contains the > signature field. How can I obtain a revision without the signature field? > > [...] > > http://www.nabble.com/file/p23649098/

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-21 Thread mkl
Oscar, if I read your code correctly, you try and extract revisions using "af.extractRevision(name)" where name is a signature name. Therefore the revision you extract is the revision that the named signature refers to and that therefore contains that signature. the revision you want, though, is

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-21 Thread OscarP
OK, I'm attaching a signed PDF and the code I'm using to obtain the revision. But the first revision obtained with this code contains the signature field. How can I obtain a revision without the signature field? the code: byte bb[] = new byte[8192]; PdfReader reade

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-20 Thread mkl
Oscar, Oscar P wrote: > > Hi again, > > thaks for all answer. > > how i can sign in append mode to obtain original PDF? > > I sign with this code: > > PdfReader reader; > PrivateKey privateKey = null; > Certificate[] chain = null; > p

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread mkl
Oscar, Oscar P wrote: > > i use iText to sign PDF, and i like get the original PDF, without the > signatures field. I get revision, but revision 1 have the first signature > field. > > It's posible??? > If you signed creating a new revision (i.e. in append mode), you can retrieve the origin

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Leonard Rosenthol
esday, May 19, 2009 5:51 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature PDF. How obtain Original PDF > > Hi, > > i use iText to sign PDF, and i like get the original PDF, > without the signatures field. I get revision, but revision 1

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Paulo Soares
> -Original Message- > From: Oscar P [mailto:opasc...@gmail.com] > Sent: Tuesday, May 19, 2009 5:51 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature PDF. How obtain Original PDF > > Hi, > > i use iText to sign PDF, and

[iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Oscar P
Hi, i use iText to sign PDF, and i like get the original PDF, without the signatures field. I get revision, but revision 1 have the first signature field. It's posible??? Other question, about signature PDF I have a doubt. If you sign a document, modify and sign again, the modify would have to