Edit

Share via


RsaSignatureCookieTransform.HashName Property

Definition

Gets or sets the name of the hash algorithm to use.

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

Property Value

The name of the hash algorithm. The default is "SHA256".

Remarks

SHA256 is the default algorithm. This may require a minimum operating system of Windows Server 2003 and .NET 3.5 SP1.

If SHA256 is not supported, set the HashName property to "SHA1".

Due to collision problems with SHA1, Microsoft recommends SHA256 or better.

Applies to