語言

SlhDsaCng(CngKey) 建構函式

定義

透過指定的 SlhDsaCng初始化類別的新實例CngKey。

public:
 SlhDsaCng(System::Security::Cryptography::CngKey ^ key);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public SlhDsaCng(System.Security.Cryptography.CngKey key);
public SlhDsaCng(System.Security.Cryptography.CngKey key);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.SlhDsaCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.SlhDsaCng
new System.Security.Cryptography.SlhDsaCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.SlhDsaCng
Public Sub New (key As CngKey)

參數

key
CngKey

將用作當前物件執行密碼運算輸入的金鑰。

屬性

例外狀況

key 是 null。

key 並未指定無狀態 Hash-Based 數位簽章演算法(SLH-DSA)群組。

此系統不支援密碼學下一代(CNG)類別。

適用於