Rediger

Del 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

SHA-256 is the default algorithm. If SHA-256 is not supported, set the HashName property to "SHA1".

Due to collision problems with SHA-1, Microsoft recommends SHA-256 or better.

Applies to