Re: [iText-questions] external signing with using mobile signing api::itextsharp

2011-12-20 Thread mkl
Hasan, subasi wrote > i don't know how to wrap it by using PdfPKCS7 class. I should see some > example. On the other hand should i need to add certificate or/and hash to > the pdf document also? On the iText http://itextpdf.sourceforge.net/howtosign.html How to sign a PDF using iText and iTextSh

Re: [iText-questions] external signing with using mobile signing api::itextsharp

2011-12-19 Thread subasi
Hi Michael, About api, yes it is correct. Because of cleaning some part of the code,i mistyped some functions. Sorry for that. Api is a mssp(mobile signature service provider) client that generates a mssp message to be sent to the operator and then return raw base64 signature to us. So you are ri

Re: [iText-questions] external signing with using mobile signing api::itextsharp

2011-12-19 Thread mkl
Hasan, subasi wrote > I enclosed the out.pdf also.. > > MobileSignAPI msa= new MobileSignAPI(); > msa.Sign("053", "sign", encodeTo64(hash), "pdf signing", 120); > pk = base64DecodeToByteArr(msa.getSignatureValue)); I just counted the bytes from this return as copied into the

Re: [iText-questions] external signing with using mobile signing api::itextsharp

2011-12-19 Thread mkl
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 th

[iText-questions] external signing with using mobile signing api::itextsharp

2011-12-19 Thread Hasan Subasi
Hi, 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.. ps: I have got the certificate after signing so i used that code sample getting from forum answers. Regards,