Paulo, Valentin,

Paulo Soares-4 wrote
> The move to BC 1.47 still needs testing, it's very recent. Let's hope it's
> not something broken in BC and the problem is in iText.
> 
> On Wed, Apr 11, 2012 at 3:10 PM, Valentin Ivanov
> <valentino82bg@> wrote:
>> I have encrypted PDF file.
>> with BC1.46 and iText-5.1.3 I decrypt the file successfully.
>> With BC1.47 and iText-5.2.1 HEAD revision i have exception

Maybe the OP still uses the wrong iText version. iText switched to BC 1.47
not before 5.2.2-SNAPSHOT. He mentions a 5.2.1 HEAD version.

Maybe he checked out svnroot/itext/tags/iText_5_2_1 at revision 5117 instead
of svnroot/itext/trunk and, thus, actually uses the code designed for BC
1.46.

OTOH the exception says "Bad certificate and key". Maybe BC became a bit
stricter concerning input formats (it at least used to be very lax
concerning malformed data) and, therefore, now rejects the file.

Valentin, maybe you could provide an example PDF for this issue?

Regards,   Michael

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PDF-decrypting-with-iText-5-2-1-revision-5117-tp4548957p4551126.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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