System.Security.Cryptography.Xml.Reference.DigestMethod Property

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

Syntax

public string DigestMethod { get; set; }

Value

a string

Remarks

The Reference.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 System.Security.Cryptography.Xml.Reference. The default algorithm is System.Security.Cryptography.SHA1.

For more information about XML digital signatures, see the 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