System.Security.Cryptography.Xml.XmlDsigXPathTransform Class

Represents the XPath transform for a digital signature as defined by the W3C.

See Also: XmlDsigXPathTransform Members

Syntax

public class XmlDsigXPathTransform : Transform

Remarks

The System.Security.Cryptography.Xml.XmlDsigXPathTransform class allows you to address an XML document using the XPath language. This class uses an XPath expression to select the XML nodes you want to sign or encrypt while removing all others from either cryptographic operation.

Use the System.Security.Cryptography.Xml.XmlDsigXPathTransform class to sign or encrypt specific parts of an XML document using an XPath expression. For information on initializing the System.Security.Cryptography.Xml.XmlDsigXPathTransform class to the value of an XPath transform string, see the XmlDsigXPathTransform.LoadInnerXml(System.Xml.XmlNodeList) method.

The Uniform Resource Identifier (URI) that describes the System.Security.Cryptography.Xml.XmlDsigXPathTransform class is defined by the SignedXml.XmlDsigXPathTransformUrl field.

For more information about the XPath transform, see Section 6.6.3 of the XMLDSIG specification, which is available from the W3C at www.w3.org/TR/xmldsig-core/.

Requirements

Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0