SignedInfo.CanonicalizationMethod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the canonicalization algorithm that is used before signing for the current SignedInfo object.
public:
property System::String ^ CanonicalizationMethod { System::String ^ get(); void set(System::String ^ value); };
public string CanonicalizationMethod { get; set; }
member this.CanonicalizationMethod : string with get, set
Public Property CanonicalizationMethod As String
Property Value
The canonicalization algorithm used before signing for the current SignedInfo object.
Remarks
The CanonicalizationMethod property uses a string Uniform Resource Identifier (URI) to represent the <Canonicalization>
element of an XML digital signature.
Use the CanonicalizationMethod property to specify the canonicalization algorithm applied to the XML output of the SignedInfo class before performing signature calculations.
Use one of the URIs listed in the following table with this property.
Canonicalization Method | Value |
---|---|
Canonical XML | https://www.w3.org/TR/2001/REC-xml-c14n-20010315 This is default method. Also defined in the following static field: XmlDsigCanonicalizationUrl |
Canonical XML with comments | https://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments Also defined in the following static field: XmlDsigCanonicalizationWithCommentsUrl |
Exclusive Canonical XML | https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#WithComments Also defined in the following static field: XmlDsigExcC14NTransformUrl |
Exclusive Canonical XML with comments | https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#WithComments Also defined in the following static field: XmlDsigExcC14NWithCommentsTransformUrl |
For more information about XML digital signatures, see the World Wide Web Consortium (W3C) specification.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應