Hi Michael and Andreas,

I tried several things:

1) removed the date stamps from both the itext and CAPICOM

2) Also changed the  bDetached parameter value to "false"  as suggested by
Michael  in the javascript

3) I also noticed that I could avoid getting the digest from the PDF and
just created a signature using the browser  and some dummy data that I could
pass. Then I can send it to the server and injecting into the PDF. For
example:


In all cases the signature was created but when it came to validating the
usual message "Document has been altered or corrupted since it was signed"

BTW, what tools do you guys use to debug the PDF generation with itext? just
the regular Eclipse debugger?

I think I am out of ideas for now, it's so close but I am just stumped at
the moment pretty furstrated. If you guys can think of anything else let me
know.

Thanks again I would not have gotten this far if it was not for your
suggestions.

max



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Sign-and-PDF-with-SmartCard-and-web-browser-only-tp4319344p4371978.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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

Reply via email to