Re: Encryption does not replace elements' content

2007-07-18 Thread Daniele Gagliardi
Thank you Sean Daniele Sean Mullan ha scritto: I believe you are affected by bug #42866: http://issues.apache.org/bugzilla/show_bug.cgi?id=42886 I will try to putback a fix for this soon. --Sean -- --- Daniele Gagliardi Engiweb Security - Gruppo Eng

Re: Encryption does not replace elements' content

2007-07-17 Thread Sean Mullan
I believe you are affected by bug #42866: http://issues.apache.org/bugzilla/show_bug.cgi?id=42886 I will try to putback a fix for this soon. --Sean Daniele Gagliardi wrote: > I tried the same code with Apache XML Security 1.3.0 and it works fine, > as you can see in the attachment. > > > > en

Re: Encryption does not replace elements' content

2007-07-17 Thread Daniele Gagliardi
I tried the same code with Apache XML Security 1.3.0 and it works fine, as you can see in the attachment. encrypted-users2.xml xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"; Type="http://www.w3.org/2001/04/xmlenc#Content";>Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc";>xmlns

Encryption does not replace elements' content

2007-07-17 Thread Daniele Gagliardi
Hi, I have a strange behaviour: I want to encrypt content of some elements in a xml file, and so I use doFinal(..,..,true), but the resulting file has both clear content and encrypted content. Here is my code, that I use with test file users.xml: ... Element rootElement = doc.getDocumentEle