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
有一个 null
的 Name。
hashAlgorithm
有一个空 Name。
hashAlgorithm
不是已知或受支持的哈希算法。
当前平台没有 HMAC 支持的实现。