Yes i know, but the problem is that i get that error with all the services that i test.
i have tested several urls tha provide free TSA services or free service for testing with no acoount and pass needed and i allways get the same error. I have made some changes to my code and now y get this trace: Exception in thread "main" ExceptionConverter: java.lang.Exception: Failed to get TSA response from 'http://tsa.safelayer.com:8093' at com.lowagie.text.pdf.TSAClientBouncyCastle.getTimeStampToken(Unknown Source) at com.lowagie.text.pdf.TSAClientBouncyCastle.getTimeStampToken(Unknown Source) at com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(Unknown Source) at firmaDigital.TSA.main(TSA.java:115) Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/tsp/TimeStampRequestGenerator ... 4 more Caused by: java.lang.ClassNotFoundException: org.bouncycastle.tsp.TimeStampRequestGenerator at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 4 more Java Result: 1 i think that i have to add the correct bouncycastle jar to my proyect. I will work fixing that problem, i hope that the error is in that way. Anyway Andreas thanks for you reply. -- View this message in context: http://old.nabble.com/PDF-and-timeStamping-tp26621719p26622991.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/