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
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
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
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
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
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
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
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'
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
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.
>
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:
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
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:
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:
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
;;
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
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
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
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
>
>
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
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
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
>
>
. 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
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
>
>
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
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"
.
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
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
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/
---
29 matches
Mail list logo