Problem with verfiying Signature

2007-07-17 Thread Maximilian Hütter
Hi all, I hope somebody can help with this, as I don't know what to do any more. My problem is that I am trying to use the XML Signature as hash value for XML documents. First I create a Signature like this (I left some things out, to shorten it): // get DOM tree Document doc = new Document((Ele

Re: [Fwd: [VOTE] Put Apache Juice into dormant status]

2007-07-17 Thread Berin Lautenbach
Note that this won't kill JuiCE, just hibernate it until such time as someone comes along to reopen it, or fork it in another location. Cheers, Berin Werner Dittmann wrote: Berin, all, just a few days ago I got an e-mail from OSSI (this organization prepared and drove the FIPS certifi

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

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

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

DO NOT REPLY [Bug 42886] - Error when removing encrypted content in 1.4.1

2007-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu