Gets or sets the canonicalization algorithm that is used before signing for the current System.Security.Cryptography.Xml.SignedInfo object.
a string
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/.