MLKemCng(CngKey) Construtor

Definição

Inicializa uma nova instância da MLKemCng classe usando a especificada 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 executadas pelo objeto atual.

Atributos

Exceções

key é null.

key não especifica um grupo de algoritmos Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).

Não há suporte para classes CNG (Cryptography Next Generation) nesse sistema.

Aplica-se a