MLKemCng(CngKey) Konstruktor

Definition

Initierar en ny instans av MLKemCng klassen med hjälp av den angivna 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)

Parametrar

key
CngKey

Nyckeln som ska användas som indata till de kryptografiska åtgärder som utförs av det aktuella objektet.

Attribut

Undantag

key är null.

key anger inte en modul-Lattice-Based Key-Encapsulation mekanism (ML-KEM) algoritmgrupp.

CNG-klasser (Cryptography Next Generation) stöds inte i det här systemet.

Gäller för