SP800108HmacCounterKdf 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SP800108HmacCounterKdf(Byte[], HashAlgorithmName) |
使用指定的密钥和 HMAC 算法初始化 的新实例 SP800108HmacCounterKdf 。 |
SP800108HmacCounterKdf(ReadOnlySpan<Byte>, HashAlgorithmName) |
使用指定的密钥和 HMAC 算法初始化 的新实例 SP800108HmacCounterKdf 。 |
SP800108HmacCounterKdf(Byte[], HashAlgorithmName)
- Source:
- SP800108HmacCounterKdf.cs
- Source:
- SP800108HmacCounterKdf.cs
使用指定的密钥和 HMAC 算法初始化 的新实例 SP800108HmacCounterKdf 。
public:
SP800108HmacCounterKdf(cli::array <System::Byte> ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public SP800108HmacCounterKdf (byte[] key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
new System.Security.Cryptography.SP800108HmacCounterKdf : byte[] * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.SP800108HmacCounterKdf
Public Sub New (key As Byte(), hashAlgorithm As HashAlgorithmName)
参数
- key
- Byte[]
密钥派生键。
- hashAlgorithm
- HashAlgorithmName
HMAC 算法。
例外
hashAlgorithm
具有一个 Name 为空的 。
hashAlgorithm
不是已知或支持的哈希算法。
当前平台不支持 HMAC 实现。
适用于
SP800108HmacCounterKdf(ReadOnlySpan<Byte>, HashAlgorithmName)
- Source:
- SP800108HmacCounterKdf.cs
- Source:
- SP800108HmacCounterKdf.cs
使用指定的密钥和 HMAC 算法初始化 的新实例 SP800108HmacCounterKdf 。
public:
SP800108HmacCounterKdf(ReadOnlySpan<System::Byte> key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public SP800108HmacCounterKdf (ReadOnlySpan<byte> key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
new System.Security.Cryptography.SP800108HmacCounterKdf : ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.SP800108HmacCounterKdf
Public Sub New (key As ReadOnlySpan(Of Byte), hashAlgorithm As HashAlgorithmName)
参数
- key
- ReadOnlySpan<Byte>
密钥派生键。
- hashAlgorithm
- HashAlgorithmName
HMAC 算法。
例外
hashAlgorithm
具有一个 Name ,它为 null
。
hashAlgorithm
具有一个 Name 为空的 。
hashAlgorithm
不是已知或支持的哈希算法。
当前平台不支持 HMAC 实现。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈