The Signature class

The xml.Signature class provides methods to create detached, enveloped or enveloping XML signatures of one or more references of XML documents or document fragments, and to determine whether a signed referenced document has been modified afterwards.

This class is provided in the xml C-Extension library; To use this class, import the xml package with:
IMPORT xml

It follows the XML-Signature specifications.

The status variable is set to zero after a successful method call.