SymmetricSecurityKey.GetKeyedHashAlgorithm(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,获取指定键控哈希算法的实例。
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 键控哈希算法的字段来指定算法。