SignedXml.XmlDsigHMACSHA1Url Field

Definition

Represents the Uniform Resource Identifier (URI) for the standard HMACSHA1 algorithm for XML digital signatures. This field is constant.

C#
public const string XmlDsigHMACSHA1Url;

Field Value

Remarks

The value of the XmlDsigHMACSHA1Url field is http://www.w3.org/2000/09/xmldsig#hmac-sha1.

Use this field to conveniently supply a value to one of the URI attributes of an element used for XMLDSIG.

For more information, see the World Wide Web Consortium (W3C) specification.

Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10