Hasan,

ah, good, now on the mailing list.

subasi wrote
> I reviewed the forum answers and generated  a code as below. But the
> signed pdf gives an error while verification.Please show me what is wrong
> on that.
> 
> I enclosed the out.pdf also..

I looked at that document, and the problem is the same as in your former
sample cikti2.pdf --- the contents inserted, i.e.
base64DecodeToByteArr(msa.getSignatureValue)) are garbage. Are you sure you
use that MobileSignAPI correctly?

Regards,   Michael.

PS: You do a 'sap.SetExternalDigest(pk, hash, "RSA")' after
'sap.PreClose(exc)' and 'getPdfHash(sap.RangeStream)'. Trying to manipulate
the sap like that after PreClose hopefully is ignored and in the worst case
messes things up. But I belief your problems are caused by wrong returns of
your MobileSignAPI.


--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/external-signing-with-using-mobile-signing-api-itextsharp-tp4213470p4213530.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
iText-questions mailing list
[email protected]
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