[xmlsec] C14N augmentation

Aleksey Sanin aleksey at aleksey.com
Sun Oct 10 16:25:41 PDT 2004

The section 4.3.3 describes non-normative serialization with C14N.
However, the normative section 4.1 step 3.1 specifcaly says that
XML serialization should be done as described in XML spec. And it
is not C14N but regular XML serializaion.

To the best of my knowledge, xmlsec does not have the code you are
looking for. However, it would be pretty trivial to modify c14n code
in Libxml2 to add an additional flag that would control the insertion
of the xmlns="".


Varun Sekhri wrote:
> Hello Aleksey,
> Wsse spec specifies an augmentaion to the
> canonicalization ....A namespace declaration xmlns=""
> be emitted with every apex element that has no
> namespace node declaring a value for the default
> namespace.
> This is exactly same as what is written in the
> encryption syntax processing in section 4.3.3 for
> serializing xml data before encryption.
> Can you please tell me how this augmentation has been
> done in xmlsec.
> thanks
> nitin
> ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list