Re: [iText-questions] [SPAM] Error on PDF decryption

2013-07-08 Thread Valentin Ts. Ivanov
Hi, I debugged it down to EnvelopedDataHelper.createCipher(ASN1ObjectIdentifier algorithm); In my case the algorithm is 1.2.840.113549.3.2. This value comes from the very beginning (I guess at the time of encryption), from the encrypted document as "messageAlgorithm", as well as "keyEncAlg" whi

Re: [iText-questions] [SPAM] Error on PDF decryption

2013-06-26 Thread Paulo Soares
You'll have to provide more information, like a complete stack strace. Paulo On Wed, Jun 26, 2013 at 3:14 PM, Valentin Ivanov wrote: > Hi, > > decryption/encryption using BC 1.46 an iText 5.2.1 is working fine. > Encryption using BC 1.49 and iText 5.4.2 is working fine, but decrypting > throws :

[iText-questions] [SPAM] Error on PDF decryption

2013-06-26 Thread Valentin Ivanov
Hi, decryption/encryption using BC 1.46 an iText 5.2.1 is working fine. Encryption using BC 1.49 and iText 5.4.2 is working fine, but decrypting throws : The code where the exception is thrown is : The provider is SunPKCS11! Regards, Valentin -- View this message in context: http://itext-ge