Thanks, Brent.
Your response identified the problem. I hadn't added the KeyInfo to each
EncryptedData, but only once. So, as long as there was only one encrypted
element, it worked but threw an exception if there were more. Works like a
charm now.
Thanks again,
Wolfgang
>
> 1) When encrypti
Quoting "Lucas, Mike" <[EMAIL PROTECTED]>:
> Hi Wolfgang,
>
> I'm not sure what's wrong with the sample, but I can tell that I've used
> the APIs to successfully encrypt and decrypt SAML messages with:
> a) the entire element and all sub-elements encrypted
> b) several different elements encrypt
ly, I'm missing something here but neither the documentation nor the
email archive have given me any clues on how to solve this. Any help will
be greatly appreciated.
Thanks,
Wolfgang
Quoting Wolfgang Freis <[EMAIL PROTECTED]>:
> Hello,
>
> I'm new to working
Hello,
I'm new to working with XML encryption and have come across a problem.
Neither the email archive nor have brought ne closer to a solution.
Google Starting with the sample files Encrypter.java and Decrypter.java I
have managed to en- and decrypt elements by name. However, decryption
works