Did you try using doFinal method on the XMLCipher instance rather than the decryptToByteArray method?
Also is the encryption sample working for you out of the box (without any changes)?
Vishal
anshuk pal chaudhuri wrote:
Vishal,
I have send you the encrypted document which needs to be decrypted. Actually,I have taken the help of your code which was in XML Security in Apache about XML Encryption and Decryption.
Please do send me the details of the XML Decryption part.
Thanks a lot.
Anshuk
__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/