Microsoft KB Archive/311526

= FIX: Misleading statement in System.Security.Cryptography.Xml namespace documentation =

Article ID: 311526

Article Last Modified on 1/19/2006

-

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.

