On 20/08/2012 4:37, Jammy Chen wrote:
> Can everybody help me how to change my code make the timestamp 
> functionality works?

I didn't look at your code in detail, but at first glance I see that 
you're using an old version of iText. I also think you're using PKCS#1 
which is allowed in ISO-32000-1, but forbidden in PAdES (but that 
doesn't explain your problem).

In any case, the signing process in iText was completely refactored in 
iText 5.3.0; and the refactoring is almost completed. This week we'll 
release iText 5.3.2 with some extra changes to the API, and then the 
interface will be stable. After the release, we'll send the second draft 
of the white paper about digital signatures to all the subscribers of 
our newsletter: http://itextpdf.com/newsletter

You can consult the table of contents of that white paper here: 
http://itextpdf.com/book/digitalsignaturesTOC.pdf
The parts in gray haven't been written yet. As you can see, there are 
already two examples explaining how to sign with an USB token, one using 
MSCAPI, another using PKCS#11. You may want to wait a couple of days 
until the draft is released.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Reply via email to