Re: [iText-questions] Bouncycastle problem again.

2012-04-13 Thread David Hook
Hi, the short answer is to avoid classes in org.bouncycastle.ocsp and to only use classes in org.bouncycastle.cert.ocsp The slightly longer answer is both classes use the same underlying ASN.1 encoding. So if you call getEncoded on the old class, use it to create a BasicOCSPResponse (in 1.47 get

Re: [iText-questions] iText 5.2.1 and Bouncycastle 1.47

2012-04-13 Thread David Hook
Hi Paulo, if the deprecated method is still been used in the latest svn version, let me know the details and I'll help you get it sorted out. Regards, David -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-5-2-1-and-Bouncycastle-1-47-tp4544704p4556602.html Sen

[iText-questions] Maybe a bug on PdfPKCS7-->getCrlUrl

2012-04-13 Thread Rafael Coninck Teigão
Hello Everyone, I'm trying to use the code for adding LTV to a PDF, but when I try to add a CRL, at first nothing happens. The code snippet goes like this: LtvVerification ltv = ltvStamper.getLtvVerification(); AcroFields ltvAf = ltvStamper.getAcroFields()

[iText-questions] table forced to next page

2012-04-13 Thread Jason Berk
I have a table with 2 header rows and 4 body rowsall forced to be 1" tall The width is locked, so the total height of the table is 6".I get that. I set the following options on the table: setHeaderRows(2) setSkipFirstHeader(true) setKeepTogether(true) my document has 5" of vertical space

Re: [iText-questions] Populate Reader Enabled XFA forms

2012-04-13 Thread Mario Ribeiro
It would seem you cannot open the Stamper in append mode e.g.: *PdfStamper stamper = new PdfStamper(reader, output, '\0', true);* and then replace the XFA stream with a new one containing data. If I do NOT open the Stamper in append mode, then my XFA replacement works but my PDF is no longer Read

[iText-questions] Custom image Provider problem

2012-04-13 Thread Darek C. RunningWild
Hello, I was looking at providing alternative image provider to html context to handle email content where images do not have accessible path. htmlContext.setImageProvider(new AbstractImageProvider() ... does not work, as images are retrieved by a clone of image provider and any attempt at ov

Re: [iText-questions] PDF self sign failed, maybe bouncycastle has changed.

2012-04-13 Thread Andreas Kuehne
Hi Paulo, maybe it would be useful to include a check for the BC version (range) ? Greetings Andreas > Unless you are using the SVN HEAD you sould use BC 1.46. > > Paulo > > On Thu, Apr 12, 2012 at 8:06 PM, denixx baykin > wrote: >> Hi. I tried to self sign the pdf file and get an exception. >

Re: [iText-questions] PDF self sign failed, maybe bouncycastle has changed.

2012-04-13 Thread Paulo Soares
Unless you are using the SVN HEAD you sould use BC 1.46. Paulo On Thu, Apr 12, 2012 at 8:06 PM, denixx baykin wrote: > Hi. I tried to self sign the pdf file and get an exception. > Which version of bouncycastle should I use? > Can I find that version in the Internet? > > Here is a detailed stack