SymmetricSecurityKey.GetKeyedHashAlgorithm(String) 方法

定义

在派生类中重写时,获取指定键控哈希算法的实例。

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

参数

algorithm
String

要获取其实例的键控哈希算法。

返回

表示键控哈希算法的 A KeyedHashAlgorithm

注解

使用表示类中 SecurityAlgorithms 键控哈希算法的字段来指定算法。

适用于