Extending System.Security.Cryptography.Xml for Custom Processing

Our last major topic for this chapter is a brief discussion of the extensibility mechanisms supported by the XMLDSIG classes. Extensibility takes two distinct forms in the System.Security.Cryptography.Xml namespace:

  • Support for new algorithms, including signature functions, hash algorithms, canonicalization algorithms, and XML transforms

  • Support for extending the KeyInfo and Reference processing behavior of the SignedXml class

Recall from the “XMLDSIG Design Principles and Modes of Use” section earlier in the chapter that XMLDSIG was architected to support the use of arbitrary cryptographic algorithms. This requirement is reflected in the XMLDSIG schema in the use of URIs to identify ...

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.