Creating XMLDSIG-Compliant Signatures Using the .NET Framework

The .NET Framework includes a comprehensive set of object classes and methods for creating and verifying XMLDSIG digital signatures. All of these classes are located in the System.Security.Cryptography.Xml namespace. In general, there is a .NET Framework class for each defined XMLDSIG element plus the utility class SignedXml that provides high-level signature generation and verification functions. Table 32.7 provides a summary of the classes in the System.Security.Cryptography.Xml namespace. This section demonstrates how SignedXml and the other XMLDSIG classes can be used to construct XMLDSIG signatures.

NOTE

The classes in the System.Security.Cryptography.Xml namespace are contained ...

Get .NET Framework Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.