FIX: Misleading statement in System.Security.Cryptography.Xml namespace documentation (311526)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft .NET Framework 1.0

This article was previously published under Q311526

SYMPTOMS

The MSDN documentation on the System.Security.Cryptography.Xml namespace states the following:

This XML model should not be used for general purposes.

This statement should read as follows:

This XML model is to be used for Security purposes like signing XML objects with a digital signature. For general purpose XML programming, use the XML model provided in the System.Xml namespace.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio .NET (2003) and the .NET Framework 1.1.

MORE INFORMATION

The System.Security.Cryptography namespace provides cryptographic services, including secure encoding and decoding of data, as well as many other operations, such as hashing, random number generation, and message authentication.

System.Security.Cryptography.Xml namespace is to be used for Security purposes, for instance when you sign XML objects with a digital signature. For general purpose XML programming, use the XML model provided in the System.Xml namespace.

System.Security.Cryptography.Xml namespace does not contain an XML model. It contains classes and methods that operate on the XML model defined in System.Xml.

REFERENCES

For more information about the System.Security.Cryptography.Xml namespace, see the Microsoft .NET Framework Software Documentation Kit (SDK) documentation, or browse to the following MSDN Online Web sites:

Modification Type:MinorLast Reviewed:1/19/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbfix kbbug kbreadme KB311526 kbAudDeveloper