It would be really nice! Right now I have successfully extracted
TimeStampToken from my TSA but I am confused how it must be encapsulated in
pdf document. If you could provide a sample code, I believe it will help a
lot.  


Paulo Soares-3 wrote:
> 
> I'll post tonight an example in Java and C# on how to sign with timestamps
> and OCSP. However, this may not help you as you're interested in
> smartcards and that (usually) requires an external signature bypassing the
> iText code.
> 
> Paulo 
> 
>> -----Original Message-----
>> From: redo [mailto:[email protected]] 
>> Sent: Tuesday, July 07, 2009 2:20 PM
>> To: [email protected]
>> Subject: [iText-questions] iText and TimeStamp
>> 
>> 
>> Could someone provide pseudo code how to add the signature 
>> and timestamp to
>> pdf because I have seen some realizations on web (for example
>> http://www.mail-archive.com/[email protected].
>> net/msg40287.html
>> ) and there are a lot of questions.
>> Currently i would like to get answers on such questions:
>> 1) from what data the hash must be sent to timestamp server? 
>> as I understand
>> the signatures must be included already then hash is calculated?
>> 2) I have seen PdfSignatureAppearance.setCrypto is called and 
>> there usually
>> are variable array certChain;
>>     it must contain what? (right now my smart card contains 2 
>> sertificates:
>> 1 for signing and 1 SSL authorization sertificate to access 
>> TSA and get
>> timestamp)
>> 3) in some realizations I have seen CMSSignedDataGenerator,
>> CMSAttributeTableGenerator and CMSSignedData usage; can 
>> somebody explain
>> when these objects are used?
>> 
>> I would be really nice if someone could explain generally how to and
>> signatures with timestamp as there is really hard to find any 
>> information
>> how it must be done correctly.
> 
> 
> 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.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have 
> the opportunity to enter the BlackBerry Developer Challenge. See full
> prize 
> details at: http://p.sf.net/sfu/blackberry
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 

-- 
View this message in context: 
http://www.nabble.com/iText-and-TimeStamp-tp24373196p24377902.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to