語言

SP800108HmacCounterKdf 建構函式

定義

初始化 SP800108HmacCounterKdf 類別的新執行個體。

多載

名稱 Description
SP800108HmacCounterKdf(Byte[], HashAlgorithmName)

使用指定的金鑰與 HMAC 演算法初始化一個新的實例 SP800108HmacCounterKdf 。

SP800108HmacCounterKdf(ReadOnlySpan<Byte>, HashAlgorithmName)

使用指定的金鑰與 HMAC 演算法初始化一個新的實例 SP800108HmacCounterKdf 。

SP800108HmacCounterKdf(Byte[], HashAlgorithmName)

來源:
SP800108HmacCounterKdf.cs
來源:
SP800108HmacCounterKdf.cs
來源:
SP800108HmacCounterKdf.cs
來源:
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 thatis null.

-或-

key 是 null。

hashAlgorithm 有個 Name 空的。

hashAlgorithm 不是已知或支援的雜湊演算法。

目前平台尚未支援 HMAC 實作。

適用於

SP800108HmacCounterKdf(ReadOnlySpan<Byte>, HashAlgorithmName)

來源:
SP800108HmacCounterKdf.cs
來源:
SP800108HmacCounterKdf.cs
來源:
SP800108HmacCounterKdf.cs
來源:
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 thatis null.

hashAlgorithm 有個 Name 空的。

hashAlgorithm 不是已知或支援的雜湊演算法。

目前平台尚未支援 HMAC 實作。

適用於