PublicKey.GetMLKemPublicKey Método

Definição

Obtém a MLKem chave pública, ou null se a chave não for 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

Devoluções

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 suporta o algoritmo.

Os conteúdos-chave estão corrompidos ou não conseguiram ser lidos com sucesso.

Aplica-se a