[iText-questions] Add signatures in a existing blank signature

2005-08-17 Thread Juan Sanchez
Hi Paulo. Finally I create a PDF with signature and Adobe can validate it correctly, but if I push over Signature Properties appear a window with the nextmessage : Certiifcate Security Alert Acrobat Error Bad parameter and the information wi

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-16 Thread Juan Sanchez
east with Acrobat 6, if the byte range has more than one exclude section it always fails. Other Acrobat plug-in may behave differently but with the standard crypto that's what I see. - Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Paulo Soar

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-12 Thread Juan Sanchez
utput as my data input, is this correct ? Regards. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>,,"Leonard Rosenthol" <[EMAIL PROTECTED]> Subject: Re: [iT

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-12 Thread Juan Sanchez
nchez" <[EMAIL PROTECTED]>,,"Leonard Rosenthol" <[EMAIL PROTECTED]> Subject: Re: [iText-questions] Add signatures in a existing blank signature Date: Fri, 12 Aug 2005 00:15:22 +0100 In theory Acrobat doesn't care but in practice, at least with Acrobat 6, if the byte

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Leonard Rosenthol
At 07:15 PM 8/11/2005, Paulo Soares wrote: In theory Acrobat doesn't care but in practice, at least with Acrobat 6, if the byte range has more than one exclude section it always fails. Other Acrobat plug-in may behave differently but with the standard crypto that's what I see. Then some

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
onard Rosenthol" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "Juan Sanchez" <[EMAIL PROTECTED]>; Sent: Thursday, August 11, 2005 8:45 PM Subject: Re: [iText-questions] Add signatures in a existing blank signature > At 12:36 PM 8/11/2005, Pa

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Leonard Rosenthol
At 12:36 PM 8/11/2005, Paulo Soares wrote: As I said, if you want Acrobat to verify the signature you can only exclude the Contents from the byte range. Assuming that is what is being hashed and marked as such. You can actually exclude anything you want - and as long as your b

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
ot;Paulo Soares" <[EMAIL PROTECTED]> > >To: "Juan Sanchez" > ><[EMAIL PROTECTED]>, > >Subject: Re: [iText-questions] Add signatures in a existing blank signature > >Date: Thu, 11 Aug 2005 12:37:58 +0100 > > > >The byte range is Ok as you'

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Juan Sanchez
SigDict /ByteRange I attach you the pdf generated using the previous code sent ? A lot of thanks. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>, Subject: Re: [iText-questio

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
MAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, August 11, 2005 12:15 PM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo. > > Thanks for your information. Finally i solve my problems with blank > signature generation. >

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Juan Sanchez
eded, maybe you're not using the right filter or generating the right hash, that depends on what you use to produce the PKCS#7. - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Tuesday, August 09, 2005 7:51 AM Subject:

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-09 Thread Juan Sanchez
Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Monday, August 08, 2005 11:36 AM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo. > > I read the PDF reference to nderstand the signat

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-09 Thread Paulo Soares
quot;Paulo Soares" <[EMAIL PROTECTED]> > >Reply-To: "Paulo Soares" <[EMAIL PROTECTED]> > >To: "Juan Sanchez" > ><[EMAIL PROTECTED]>, > >Subject: Re: [iText-questions] Add signatures in a existing blank signature > >Date:

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-09 Thread Juan Sanchez
kcs7.detached . Thanks in advance. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>, Subject: Re: [iText-questions] Add signatures in a existing blank signature Date:

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-09 Thread Paulo Soares
PdfFormField.createSignature() is different from PdfStamper.createSignature(). - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Tuesday, August 09, 2005 3:52 PM Subject: Re: [iText-questions] Add signatures in a ex

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-08 Thread Paulo Soares
;; Sent: Monday, August 08, 2005 11:36 AM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo. > > I read the PDF reference to nderstand the signature dictionary entries. > I test inserting ne

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-08 Thread Juan Sanchez
PdfDictionary dic2= new PdfDictionary(); dic2.put(PdfName.CONTENTS, new PdfString(ssig).setHexWriting(true)); sap.close(dic2); Where is my error ? A lot of thanks in advance. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares" <[EMA

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-08 Thread Juan Sanchez
es" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>, Subject: Re: [iText-questions] Add signatures in a existing blank signature Date: Fri, 5 Aug 2005 11:25:53 +0100 You didn't define the signature filter (PdfName.ADOBE_PPKLITE for example). You should read th

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-05 Thread Paulo Soares
AIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Friday, August 05, 2005 8:52 AM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo. > > Here the output : > > Before stp.close > > Error > >

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-05 Thread Juan Sanchez
Paulo Soares" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>, Subject: Re: [iText-questions] Add signatures in a existing blank signature Date: Thu, 4 Aug 2005 13:27:59 +0100 What's the stack trace? - Original Message - From: "Juan Sanchez&quo

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-04 Thread Paulo Soares
Look for: byte[] ssig = sig.getEncodedPKCS7(); Put your PKCS#7 in ssig. - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, August 04, 2005 8:53 AM Subject: Re: [iText-questions] Add signatures in a existing

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-04 Thread Paulo Soares
What's the stack trace? - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, August 04, 2005 10:07 AM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo > >

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-04 Thread Juan Sanchez
. You can have external signatures or even a full external PKCS#7, see the examples. - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, August 03, 2005 3:27 PM Subject: Re: [iText-questions] Add signatures in a exist

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-04 Thread Juan Sanchez
ures or even a full external PKCS#7, see the examples. - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, August 03, 2005 3:27 PM Subject: Re: [iText-questions] Add signatures in a existing blank signature > >

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-03 Thread Paulo Soares
CTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, August 03, 2005 3:27 PM Subject: Re: [iText-questions] Add signatures in a existing blank signature > > Hi Paulo. > > After execute the next code , in the pdf document (that contain 3 blank > signatures) only appear 1 signed

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-03 Thread Juan Sanchez
sap.setVisibleSignature(name); } stp.close(); } catch(Exception e ){ System.out.println("\n\t" + e.toString()); } } Regards. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares"

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-03 Thread Juan Sanchez
. From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: "Paulo Soares" <[EMAIL PROTECTED]> To: "Juan Sanchez" <[EMAIL PROTECTED]>, Subject: Re: [iText-questions] Add signatures in a existing blank signature Date: Wed, 3 Aug 2005 11:09:01 +0100 See h

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-03 Thread Paulo Soares
See http://itextpdf.sf.net/howtosign.html. To sign an existing field use PdfSignaturaAppearance.setVisibleSignature(String). - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 03, 2005 9:38 AM Subject: [iText-questions] Add signatur

[iText-questions] Add signatures in a existing blank signature

2005-08-03 Thread Juan Sanchez
Hi. I want to insert a signature in a blank signature created previously. Is there some example that it can help me ? Regards. _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ ---