Hi Ale , Paulo gave you the right direction, you need to build a 3161-styled Timestamp out of the data you recieve from your TSA. But I'm missing the signing certificate used to create the timestamp in your list .. this will be required, too. But maybe it's easier to nag your provider to supply the standard plain-vanilla timestamp interface, in use all over the world ... Moreover there is a trick with the nonce.You need to calculate the value upfront, with some special restrictions. Iirc there was a discussion on the topic on this list about a year ago ...
good luck, andreas ----- original Nachricht -------- Betreff: Re: [iText-questions] low-level timestamping process Gesendet: Mi, 04. Mai 2011 Von: Paulo Soares<[email protected]> > You'll need to extend TSAClient. Have a look at TSAClientBouncyCastle.java > for inspiration. > > Paulo > > -----Original Message----- > From: Ale Kancilija [mailto:[email protected]] > Sent: Wednesday, May 04, 2011 9:25 AM > To: [email protected] > Subject: [iText-questions] low-level timestamping process > > Hi, > Im writing an app for signing and timestamping PDFs using iText and Java. > Because we (in Slovenia) have different approach for getting timestamp from > our TSA (via web service, using certificate and password) I cannot use those > methods from iText. I have a Perl script for the web service part. > > In the web service response I get timestamp's data as: > > ds:DigestValue -> kERrAqmqAnNwT6QN2N/CtRRhgcM= > ts:SerialNumber -> 102299729497066078981007067333873907241223 > ts:CreationTime -> 2011-04-26T11:55:53.075Z > ts:Nonce -> 11502067732787705978 > > > How can I write those data in PDF, so the PDF reader will recognise them as > TSA timestamp, not as timestamp "from signer's computer"? > Which part of iText code writes those timestamp data into a PDF file? > Which metods do I need to override? Can I see this deep into the code? > > thanks > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/low-level-timestamping-process-tp > 3494839p3494839.html > Sent from the iText - General mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta mensagem > for recebida por engano, por favor envie-a de volta para o remetente e > apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o > destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its confidentiality. > If this message is received by mistake, please send it back to the sender > and delete it from your system immediately. It is forbidden to any person > who is not the intended receiver to use, distribute or copy any part of this > message. > > ---------------------------------------------------------------------------- > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php --- original Nachricht Ende ---- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
