ערוך

שתף באמצעות


Reference.DigestMethod Property

Definition

Gets or sets the digest method Uniform Resource Identifier (URI) of the current Reference.

public:
 property System::String ^ DigestMethod { System::String ^ get(); void set(System::String ^ value); };
public string DigestMethod { get; set; }
member this.DigestMethod : string with get, set
Public Property DigestMethod As String

Property Value

The digest method URI of the current Reference. The default value is http://www.w3.org/2001/04/xmlenc#sha256.

Remarks

The DigestMethod property uses a URI string to represent the <DigestMethod> element of an XML digital signature.

The digest method is the algorithm used to hash the Reference. The default algorithm is SHA256.

Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better. For more information about XML digital signatures, see the W3C specification.

Applies to