Re: [iText-questions] Signature timestamp

2006-05-26 Thread Tomek Maćkowski
No I couldn't solve this problem with iText. I tried demo version of SecureBlackbox for .Net for creating timestamped PDF with PKCS7 and everything was ok. I don't know where is the mistake and how to achieve it in iText.. Tomek Aleksandras S napisał(a): Hi, did you solve this problem?

RE: [iText-questions] Signature timestamp

2006-05-26 Thread Paulo Soares
See http://prdownloads.sourceforge.net/opensignature/opensignpdf_0.0.2.tar.gz       From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aleksandras SSent: Friday, May 26, 2006 5:31 PMTo: itext-questions@lists.sourceforge.netSubject: Re: [iText-questions

Re: [iText-questions] Signature timestamp

2006-05-26 Thread Aleksandras S
Hi, did you solve this problem?>> On 19/05/06, *Tomek Maćkowski* < [EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> Hi>>> I have a problem with timestamp of digital signature. I create this > signature as 'adbe.pkcs7.detached ' and everything works fine. Now> I want> to add a tim

Re: [iText-questions] Signature timestamp

2006-05-19 Thread Tomek Maćkowski
Here is my code, to get it running you have to download: bouncycastle commons-httpclient commons-logging commons-codec import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import ja

Re: [iText-questions] Signature timestamp

2006-05-18 Thread Tomek Maćkowski
No I don't use dictionary "M". I read in PDF reference that this element is optional and Acrobat should take date of signing from PKCS#7 binary object. I'm creating PKCS#7 signature with BouncyCastle library. My time stamp is also generated in this library and then inserted into PKCS#7 unauthen

Re: [iText-questions] Signature timestamp

2006-05-18 Thread Aleksandras S
Hi Tomek, Can you show a code place where you add a timestamp? Do you include in your signature dictionary "M" with time of signing?     On 19/05/06, Tomek Maćkowski <[EMAIL PROTECTED]> wrote: HiI have a problem with timestamp of digital signature. I create thissignature as 'adbe.pkcs7.detached ' a

[iText-questions] Signature timestamp

2006-05-18 Thread Tomek Maćkowski
Hi I have a problem with timestamp of digital signature. I create this signature as 'adbe.pkcs7.detached' and everything works fine. Now I want to add a timestamp to the signature (by adding ASN.1 'id-smime-aa-timeStampToken' atribute to PKCS7 signature as in RFC 3161 Appendix A). When i ope