Berin,
Yes, this was the problem. Thanks for fixing it.
It works fine with your code change.
Thanks,
Sachin.
Berin Lautenbach <[EMAIL PROTECTED]> wrote:
Sachin,I have just checked a new version of XMLCipher into CVS - could you have a try?We were only grabbing the first node beneath , so i
Sachin,
I have just checked a new version of XMLCipher into CVS - could you have
a try?
We were only grabbing the first node beneath , so if there
were multiple nodes, or any comments, we wouldn't grab all the cipher
text. That may be where you were running into problems.
Cheers,
Ber
Ahhh. I wonder if the cipher text is split accross multiple text nodes
and for some reason we are not gathering it all.
I will have a look-see.
(CCing to security-dev for records)
Cheers,
Berin
Sachin Tarnekar wrote:
Hi Berin,
Thanks for the response..
The problem turns out to be
Sachin,
How are you loading the private key? The InvalidKeyException might
indicate that the wrong key is being used - which would explain the
"unknown block type", as it would do the decrypt and go to strip the
PKCS1.5 padding and find it didn't match expectations.
Cheers,
Berin
> Hi,
>
>
Hi,
I am trying to decrypt a document that is encrypted
using AES192 and in which the symmetric key is
encrypted using an RSA key.
But decryption fails with the following exception. I
get the same errors even if the document is encrypted
using DESede.
XMLCipher- Constructing XMLCi