MLKemCng(CngKey) Constructor

Definición

Inicializa una nueva instancia de la MLKemCng clase mediante el especificado 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)

Parámetros

key
CngKey

Clave que se usará como entrada para las operaciones criptográficas realizadas por el objeto actual.

Atributos

Excepciones

key es null.

key no especifica un grupo de algoritmos Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).

Las clases cryptography Next Generation (CNG) no se admiten en este sistema.

Se aplica a