PublicKey.GetMLKemPublicKey Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém a MLKem chave pública ou null se a chave não é uma chave ML-KEM.
public:
System::Security::Cryptography::MLKem ^ GetMLKemPublicKey();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.MLKem? GetMLKemPublicKey();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.MLKem? GetMLKemPublicKey();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetMLKemPublicKey : unit -> System.Security.Cryptography.MLKem
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetMLKemPublicKey : unit -> System.Security.Cryptography.MLKem
Public Function GetMLKemPublicKey () As MLKem
Retornos
A chave pública ou null se a chave não for uma chave ML-KEM.
- Atributos
Exceções
O objeto representa uma chave pública ML-KEM, mas a plataforma não dá suporte ao algoritmo.
O conteúdo da chave está corrompido ou não pôde ser lido com êxito.