Language

AsymmetricSecurityKey.GetHashAlgorithmForSignature(String) メソッド

定義

派生クラスでオーバーライドされると、デジタル署名のハッシュを生成する暗号化アルゴリズムを取得します。

public:
 abstract System::Security::Cryptography::HashAlgorithm ^ GetHashAlgorithmForSignature(System::String ^ algorithm);
public abstract System.Security.Cryptography.HashAlgorithm GetHashAlgorithmForSignature(string algorithm);
abstract member GetHashAlgorithmForSignature : string -> System.Security.Cryptography.HashAlgorithm
Public MustOverride Function GetHashAlgorithmForSignature (algorithm As String) As HashAlgorithm

パラメーター

algorithm
String

ハッシュ アルゴリズム。

戻り値

デジタル署名のハッシュを生成する HashAlgorithm 。

注釈

アルゴリズムを指定するには、 SecurityAlgorithms クラスの静的フィールドを使用します。

適用対象