Redigera

Dela via


AsymmetricSignatureDeformatter.SetHashAlgorithm(String) Method

Definition

When overridden in a derived class, sets the hash algorithm to use for verifying the signature.

public:
 abstract void SetHashAlgorithm(System::String ^ strName);
public abstract void SetHashAlgorithm (string strName);
abstract member SetHashAlgorithm : string -> unit
Public MustOverride Sub SetHashAlgorithm (strName As String)

Parameters

strName
String

The name of the hash algorithm to use for verifying the signature.

Remarks

You must set a hash algorithm before calling an implementation of VerifySignature.

Applies to

See also