Re: Signature and children - redundant namespace declarations

2007-06-04 Thread Raul Benito
Can you post an example of the behaviour (a code and an output)? On 5/29/07, Brent Putman <[EMAIL PROTECTED]> wrote: When I generate a signature using XMLSignature, the library is redundantly adding the signature namespace declaration on every child element of the ds:Signature element. Is there

Re: Signature and children - redundant namespace declarations

2007-06-04 Thread Raul Benito
Hi all, First of all sorry for the delay, Regarding the circumventBug2560 should only be invoked when there is an xpath transformation and the transformation contains the word nodespace. In theory the only need to do this when the xpath use the nodespace axis, but this approximation is good enough

Re: Signature and children - redundant namespace declarations

2007-06-04 Thread Brent Putman
Raul Benito wrote: > Can you post an example of the behaviour (a code and an output)? > Ok, here is a little test program I wrote. It's not OpenSAML-based, it's just straight DOM-based code. Parses the assertion.xml and signs the saml:Assertion, using enveloped and exclusive c14n on the single

Encrypt with public key

2007-06-04 Thread Joseph Bonello
Hi I am writing an XML exchange program in which I would like a mechanism if acknowledgements using encrypted XML receipts. The receipt is an XML file simply stating that a message has been received. It is sent by the receiver to the sender. I would like to encrypt the message with the p