Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread Andreas Kuehne
For curiosity I took a look at the signature, too. Here's what I got: 2012-01-31 20:04:13,281 ERROR (http-0.0.0.0-8080-7) [de.trustable.signingserver.Verifier] Signature ERROR from signer # 0 : javax.crypto.BadPaddingException: Invalid PKCS#1 padding: encrypted message and modulus lengths do not m

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Keith O
On Tue, Jan 31, 2012 at 5:42 PM, Kevin Day wrote: > Are you able to isolate which page is causing this issue?  It really should > be possible to get a single page that causes the problem, and having that > will help quite a bit in getting a fix. For the link posted earlier (136 pages): http://ww

[iText-questions] Fwd: Itext Assistence

2012-01-31 Thread Christian Reinozo
Mensaje original Asunto: Itext Assistence Fecha: Tue, 31 Jan 2012 12:22:36 -0500 De: Christian Reinozo Organización: Magmasoft Para: itext-questions@lists.sourceforge.net Hello, My name is Christian I was finding the examples of the Itext's books, but I

Re: [iText-questions] Insert TimeStamping with external digest

2012-01-31 Thread mkl
Raffaele, Raffaele wrote > I'va an external Signature Service that give me the signed hash in SHA256. > Now i've to insert this hash into a pdf file. > > [...] > > And the signature is ok. > Now i've to timestamping the signature field. > I've used the code: > > [...] >

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread Leonard Rosenthol
Yes, we do indeed fail validation. Just not enough here to do anything useful. Leonard On 1/31/12 5:33 PM, "mkl" wrote: >Max, > >madmax wrote >> I am attaching the the signed PDF as well as the full Java and JSP code >> and lastly I made a recording on how it runs within internet explorer >> s

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Kevin Day
ok - that one is going to be caused by something deeper in the unicode, font metrics, etc... area of iText - I'll need to rely on the others for digging into that. Are you able to isolate which page is causing this issue? It really should be possible to get a single page that causes the problem,

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread mkl
Max, madmax wrote > I am attaching the the signed PDF as well as the full Java and JSP code > and lastly I made a recording on how it runs within internet explorer > showing the interaction with the smartcard, servlet and itext. > > http://itext-general.2136553.n4.nabble.com/file/n4344394/sample-

[iText-questions] Insert TimeStamping with external digest

2012-01-31 Thread Raffaele
hi to all, sorry for the post, i've searched the forum but none of the solution has encountered my problem. I'va an external Signature Service that give me the signed hash in SHA256. Now i've to insert this hash into a pdf file. The code is: //Richiesta Certificato Utente UserCertific

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Keith O
On Tue, Jan 31, 2012 at 4:16 PM, Kevin Day wrote: > ok - I tested your PDF in the Java version of iText (latest code from HEAD) > and it does *not* fail.  Given the stack trace, I'm pretty sure that this is > an issue that has been fixed - basically, if the text render operation had > an empty str

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Keith O
On Tue, Jan 31, 2012 at 4:22 PM, Paulo Soares wrote: > I suspect that this is also fixed in the iTextSharp HEAD. In any case, the > Java and C# versions will be synchronized this weekend. Yes, there's no problem when building from the latest SVN source code with the test file I had attached, tha

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Paulo Soares
I suspect that this is also fixed in the iTextSharp HEAD. In any case, the Java and C# versions will be synchronized this weekend. Paulo -Original Message- From: Kevin Day [mailto:ke...@trumpetinc.com] Sent: Tuesday, January 31, 2012 3:17 PM To: itext-questions@lists.sourceforge.net Su

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Kevin Day
ok - I tested your PDF in the Java version of iText (latest code from HEAD) and it does *not* fail. Given the stack trace, I'm pretty sure that this is an issue that has been fixed - basically, if the text render operation had an empty string, we were winding up with an index out of bounds excepti

Re: [iText-questions] iTextSharpe exception calling PdfTextExtractor.GetTextFromPage

2012-01-31 Thread mkl
Edward, Edward Ling wrote > an internal company project to extract the text from Mortgage Lender's > (KFI) pdf documents [...] > > It fails with: Dictionary key is not a name. [...] > > Is this a known bug in the library? I do not have any control in the > format/content of the pdf, and maybe it

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread madmax
mkl wrote > > Max, > > madmax wrote >> The code fragments that I posted actually puts a signature on the PDF but >> now I have a problem when I open the PDF and try to verify the signature >> I get this error from adobe >> >> *Error during signature verification. Error encountered while validat

Re: [iText-questions] Display of message on the mailing list

2012-01-31 Thread Alla Bakash
Hi Alexis, Thanks for the response. I've subscribed to the mailing list(I think that this message wouldn't have displayed otherwise). The following is my post. But it is appearing as blank on the mailing list pages. http://sourceforge.net/mailarchive/forum.php?thread_name=BAY146-W657721EA3

Re: [iText-questions] Digital signing and embedding certificate CRL

2012-01-31 Thread mkl
sanduche, sanduche wrote > Just to add, both CA certificates from this link: > http://www.ca.posta.rs/ca-sertifikati/default.htm > http://www.ca.posta.rs/ca-sertifikati/default.htm should be installed for > successfull signature validation (is this normal behavior? Chain is > consisted of: root

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread Keith O
Hi max, On Tue, Jan 31, 2012 at 4:13 AM, madmax wrote: > Hey Keith here are the c# examples I found  that I was refering about in the > post > > http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp1 Thanks, I've seen that t you had found something else. Thank you for the JavaScript l

Re: [iText-questions] Possible bug in PdfTextExtractor.GetTextFromPage [iTextSharp]

2012-01-31 Thread Keith O
On Mon, Jan 30, 2012 at 10:56 PM, Kevin Day wrote: > If you can provide the full stack trace, it would be a big help.  Links to > the SO articles would also be useful if you still have them handy. [IndexOutOfRangeException: Index was outside the bounds of the array.] iTextShar

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread mkl
Raffaele, Raffaele wrote > i've the same problem with te error 0x2726 when open the PDF File. > > Any suggestion?? Yes. The same as I gave to max: mkl wrote > > In that case please also supply a sample pdf signed by your code. It is > almost always easiest to analyse such problems by looking at

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread Raffaele
Hi mkl, i've the same problem with te error 0x2726 when open the PDF File. Any suggestion?? THX in advance -- View this message in context: http://itext-general.2136553.n4.nabble.com/Sign-and-PDF-with-SmartCard-and-web-browser-only-tp4319344p4343964.html Sent from the iText - General mailing li

Re: [iText-questions] failure in verifyTimestampImprint with message Imprint Algorithm SHA-256

2012-01-31 Thread Paulo Soares
Thank you for the code, it's correct. I'm adding PAdES-LTV verification support and I've code similar to yours. Paulo From: Massa Alfonso [mailto:alfonso.ma...@insiel.it] Sent: Monday, January 30, 2012 2:06 PM To: itext-questions@lists.sourceforge.net Subject: [i

Re: [iText-questions] Display of message on the mailing list

2012-01-31 Thread 1T3XT BVBA
On 31/01/2012 9:41, Alexis Pigeon wrote: > Did you subscribe to the mailing list? If not, every single message > you post has to be approved manually by the administrator, causing > some delay. Or they get deleted if there are too many posts from people who didn't subscribe: http://lowagie.com/

Re: [iText-questions] Display of message on the mailing list

2012-01-31 Thread Alexis Pigeon
Hi Shaik, On 31 January 2012 08:12, Alla Bakash wrote: > Hi, >I'm trying to post details regarding some update done with the > background while working with HTMLWorker. >My message is not displaying on the mail list(though my issue is > displayed). Can you please help me regard