MLKemCng(CngKey) Construtor

Definição

Inicializa uma nova instância da MLKemCng classe usando o 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

A chave que será usada como entrada para as operações criptográficas realizadas pelo objeto atual.

Atributos

Exceções

key é null.

key não especifica um grupo de algoritmos Módulo-Lattice-Based Key-Encapsulation Mecanismo (ML-KEM).

As classes de Criptografia de Nova Geração (CNG) não são suportadas neste sistema.

Aplica-se a