語言

MLKemCng(CngKey) 建構函式

定義

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

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

參數

key
CngKey

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

屬性

例外狀況

key 是 null。

key 並未指定模組-Lattice-Based Key-Encapsulation 機制(ML-KEM)演算法群組。

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

適用於