MLKemCng(CngKey) Konstruktor

Definicja

Inicjuje nowe wystąpienie MLKemCng klasy przy użyciu określonego CngKeyelementu .

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)

Parametry

key
CngKey

Klucz, który będzie używany jako dane wejściowe do operacji kryptograficznych wykonywanych przez bieżący obiekt.

Atrybuty

Wyjątki

Parametr key ma wartość null.

key nie określa grupy algorytmów Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).

Klasy kryptografii Następnej generacji (CNG) nie są obsługiwane w tym systemie.

Dotyczy