Hey Michael, That makes a lot of sense (SHA1withRSA is a two-step algorithm), and thus i was going at it the wrong way by hashing it first and then rehashing and signing....
Too bad jian zhang method of generating the hash and then applying RSA doesnt work, my next step was going to be to apply this to a server-client application and that separating RSA from SHA1 would end in less bytes to send between both. Theres no way of doing it, right? In any case, thanks a lot to everyone for helping. I believe its now working 100%. ps: when i uploaded the files i wondered if i would have a problem having both files with same name... just seems i need several attemps to do anything right :P -- View this message in context: http://itext-general.2136553.n4.nabble.com/Another-invalid-signature-thread-tp3003710p3015422.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions 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