I was talkinb about the use of them alone and then need to be c14n by itself. Anyway I see the point, and I think is one of the sane ones to be use outside of the signature. But please in order to not repeat it can you send me the junit test case. It will be make the change faster, and it also will allowed us not do the same mistake again.
On Fri, Oct 3, 2008 at 5:15 PM, Werner Dittmann <[EMAIL PROTECTED] > wrote: > Raul Benito schrieb: > >> Hello, >> I think I made the change so I will try to defend it, first of all the use >> of KeyInfo out of a Signature it is not a use case I was looking to. >> > > Raul, > > KeyInfo as such (as an XML element) is not used inside Signature only. If > you > have a look into the OASIS WSS specification you will see that KeyInfo is > used everywhere (nearly everywhere) a key is used, thus also to store > information > and references to encryption keys and so on. And these are exactly the test > cases > that break when we use KeyInfo to implement OASIS WSS. > > Regards, > Werner > > > So > >> perhaps we break it as we don't look at it. And sadly the old api is full >> of >> internal objects that can be use external. And I see KeyInfo like that. >> So in order to fix, can you write a test case that fails and submit a bug, >> I >> will update the code in SVN head. >> Thanks, >> Raul >> >>