CanonicalizationMethod

Defines the canonicalization method applied to SignedInfo as specified in XML DSIG. Must be of type Canonical XML.

Element hierarchy

<Signature>
<SignedInfo>
<CanonicalizationMethod>

Syntax

<CanonicalizationMethod Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" | "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" | "http://www.w3.org/2001/10/xml-exc-c14n#" | "http://www.w3.org/2001/10/xml-exc-c14n#WithComments" >

  string

</CanonicalizationMethod>

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Algorithm

Defines the Uniform Resource Locator (URI) of the algorithm used for canonicalization.

This attribute can have one of the following values:

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

 

Child Elements

None.

Parent Elements

Parent Element Description
SignedInfo

Defines all signed content within the signature as specified in XML DSIG .

 

Requirements

Namespace

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