Overview of SignXML features
mainSignXML is a Python implementation of the W3C XML Signature Syntax and Processing Version 1.1 standard. Key features include:
- Security: Uses a
libxml2-based XML parser configured to defend against common XML attacks during signature verification. - X.509 Support: Extensions for signing and verifying X.509 certificate chains, including hostname/CN validation.
- XAdES: Support for signing and verifying XAdES signatures.
- Canonicalization: Support for exclusive XML canonicalization with inclusive prefixes (
InclusiveNamespaces PrefixList), which is required for compatibility with certain SAML implementations. - Compatibility: Supports modern Python versions (3.9-3.13+) and PyPy.
- Dependencies: Built on
lxmlandcryptography. - Secure Defaults: Provides a simple interface with ergonomic defaults that avoid network calls, XSLT, or XPath transforms.