System.Security.Cryptography.Xml.SignedInfo.CanonicalizationMethod Property

Gets or sets the canonicalization algorithm that is used before signing for the current System.Security.Cryptography.Xml.SignedInfo object.

Syntax

public string CanonicalizationMethod { get; set; }

Value

a string

Remarks

The SignedInfo.CanonicalizationMethod property uses a string Uniform Resource Identifier (URI) to represent the <Canonicalization> element of an XML digital signature.

Use the SignedInfo.CanonicalizationMethod property to specify the canonicalization algorithm applied to the XML output of the System.Security.Cryptography.Xml.SignedInfo class before performing signature calculations.

Use one of the URIs listed in the following table with this property.

Canonical XML

http://www.w3.org/TR/2001/REC-xml-c14n-20010315

Also defined in the following static field: SignedXml.XmlDsigCanonicalizationUrl

Canonical XML with comments

http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments

Also defined in the following static field: SignedXml.XmlDsigCanonicalizationWithCommentsUrl

Exclusive Canonical XML

http://www.w3.org/2001/10/xml-exc-c14n#

Also defined in the following static field: SignedXml.XmlDsigExcC14NTransformUrl

Exclusive Canonical XML with comments

http://www.w3.org/2001/10/xml-exc-c14n#WithComments

Also defined in the following static field: SignedXml.XmlDsigExcC14NWithCommentsTransformUrl

Minimal Canonical XML

http://www.w3.org/2000/09/xmldsig#minimal

Also defined in the following static field: SignedXml.XmlDsigMinimalCanonicalizationUrl

For more information about XML digital signatures, see the World Wide Web Consortium (W3C) specification 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