Pedro, P3d3r0s0 wrote: > 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?
It is possible... you "merely" have to apply the right algorithms with the right parameters (e.g. concerning padding) and build the DigestInfo structure yourself. SHA1withRSA essentially is a convenience automatically doing everything right. If you attempt to do it, you should study the appropriate RFCs first and then try and find an appropriate security related forum as hardly anyone succeeds immediately. Using libraries like http://www.bouncycastle.org/ bouncy castle most definitively helps. Regards, Michael. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Another-invalid-signature-thread-tp3003710p3015463.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