[Mono-list] Help required with some xml issues

Sebastien Pouliot Sebastien Pouliot <spouliot@videotron.ca>
Thu, 28 Nov 2002 22:04:38 -0500


I've commited part of the required support for Xml Digital Signature [1]
under the System.Security.Cryptography namespace in assembly
System.Security.dll. The Xmldsig classes make use of the
System.Security.Cryptography(.X509Certificate) and the System.Xml classes.

In order to complete the System.Security namespace we need to complete two
xml related tasks:

First, there are still some missing functionality in Xmldsig. Most missing
stuff are in the Transform classes. To my knowledge the most complex
transform (the one that gives me nightmares) is the C14N - which is AFAIK
included in libxml2! Is there someone with some libxml2 experience that
could implement the C14 transform ?

Second, this namespace won't work with mono until some missing, or
incomplete, pieces [2] in the System.Xml classes are completed (however at
this stage it can be tested under Windows using MS System.Xml.dll).

Any volunteers ?
Thanks

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot@motus.com
home: spouliot@videotron.ca

[1] http://www.w3.org/TR/xmldsig-core/

[2] Under Mono:: System.NullReferenceException is thrown for:
 - System.Xml.XmlNode.AppendChild(XmlNode newChild)
 - System.Xml.XmlNode.RemoveChild(XmlNode oldChild)
 Under Mono:: System.InvalidOperationException (Cannot import nodes of type
'12717168') is thrown for:
 - System.Xml.XmlDocument.ImportNodeInternal(XmlNode node, Boolean deep)

 Other errors may be hidding underneath! I can send a complete log if
helpful.