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

2012-04-16 Thread Paulo Soares
Thank you. Paulo On Mon, Apr 16, 2012 at 11:29 AM, David Hook wrote: > > getContent call in > > envelopedData = recipientInfo.getContent(certificateKey, > certificateKeyProvider); > > Should be: > > getContent(new > JceKeyTransEnvelopedRecipient(certificateKey).setProvider(certificateKeyProvider

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

2012-04-16 Thread David Hook
getContent call in envelopedData = recipientInfo.getContent(certificateKey, certificateKeyProvider); Should be: getContent(new JceKeyTransEnvelopedRecipient(certificateKey).setProvider(certificateKeyProvider)); I'd also suggest allowing people to specify a content provider, the original BC app

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

2012-04-15 Thread Paulo Soares
Hi David, Thank you for the assistance. The particular code is at http://itext.svn.sourceforge.net/viewvc/itext/trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfReader.java?revision=5118&view=markup line 743. certificateKey is the private key used to decrypt the PDF. Paulo On Sat, Apr 14, 2012

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

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

2012-04-11 Thread Paulo Soares
The change was done in revision 5114. Just get the latest. Paulo On Wed, Apr 11, 2012 at 2:01 PM, Valentin Ivanov wrote: > Hello Paulo, > > at first glance i did not find the svn repository. But now i download iText > revision 5117, is this the right lib you are talking about? > > -- > View this

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

2012-04-11 Thread Valentin Ivanov
Hello Paulo, at first glance i did not find the svn repository. But now i download iText revision 5117, is this the right lib you are talking about? -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-5-2-1-and-Bouncycastle-1-47-tp4544704p4548819.html Sent from the

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

2012-04-11 Thread Paulo Soares
Does anyone read the past messages in this thread? iText SVN HEAD supports BC 1.47. It's already there, it's done, try it. Paulo On Wed, Apr 11, 2012 at 11:38 AM, Valentin Ivanov wrote: > I have the same issue during PDF encription. In addition > http://www.bouncycastle.org/wiki/display/JA1/Port

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

2012-04-11 Thread Valentin Ivanov
I have the same issue during PDF encription. In addition http://www.bouncycastle.org/wiki/display/JA1/Porting+from+earlier+BC+releases+to+1.47+and+later HERE is the table of changes in BC1.47. -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-5-2-1-and-Bouncycas

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

2012-04-10 Thread Kwan Hon Luen
ril 10, 2012 5:25 PM Subject: Re: [iText-questions] iText 5.2.1 and Bouncycastle 1.47 The SVN version is compatible with BC 1.47. It still calls a deprecated method that I'm not sure what to replace with. Paulo On Tue, Apr 10, 2012 at 7:50 AM, Andreas Kuehne wrote: > Hi Kwan Hon Luen, >

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

2012-04-10 Thread Paulo Soares
The SVN version is compatible with BC 1.47. It still calls a deprecated method that I'm not sure what to replace with. Paulo On Tue, Apr 10, 2012 at 7:50 AM, Andreas Kuehne wrote: > Hi Kwan Hon Luen, > > Bouncy Castle is undergoing some major/severe refactorings with incompatible > changes at re

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

2012-04-09 Thread Andreas Kuehne
Hi Kwan Hon Luen, Bouncy Castle is undergoing some major/severe refactorings with incompatible changes at relevant API interfaces. So version dependecy not a problem of iText but all 'users' of BC. It hurts a lot! Greetings Andreas > It appears that iText 5.2.1 is not compatible with Bouncycastl

[iText-questions] iText 5.2.1 and Bouncycastle 1.47

2012-04-09 Thread Kwan Hon Luen
It appears that iText 5.2.1 is not compatible with Bouncycastle 1.47. The closest compatible version is Bouncycastle 1.46. *** This e-mail is intended only for the named addressee(s) and may contain confidential and/