Hi again, yazeed! Three quick tips: - Use Google! You'll find answers more quickly than by waiting for replies on the list. - Use a PKCS7-type of signature. The RSA-SHA1 is antique and we saw many problems associated with it. - Check your smartcard software. The signature is 131 bytes long. That doesn't build a valid encrypted hash. I guess there is a ASN.1 holder structure around it. Search the list, Michael already had a thread on this topic ...
Good luck, Andreas > Hi Andreas, > > Thanks a lot for your replay. > > if you open the signed pdf attached to my first email using acrobat reader > 9.0 you will be able to see the certificate but using acrobat reader 7.0 you > cant see the certificate. i tested that using acrobat 9.0 and i was able to > extract the certificate from the signed PDF using acrobat 9.0 > > If you have enough time, could you please send me a link to the book or to > any website which describe how can i extract the hash of the original pdf as > well as the certificate from the signed pdf. > > Your help is highly appreciated. > > Regards, > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Signing-PDF-using-Smart-Card-tp4656595p4656615.html > Sent from the iText - General mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > 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 > -- Andreas Kühne phone: +49 177 293 24 97 mailto: kue...@trustable.de Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas Kühne, Heiko Veit Company UK Company No: 5218868 Registered in England and Wales ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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