PublicKey.GetMLKemPublicKey Método

Definición

Obtiene la MLKem clave pública o null si la clave no es una clave 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

Devoluciones

Clave pública o null si la clave no es una clave ML-KEM.

Atributos

Excepciones

El objeto representa un ML-KEM clave pública, pero la plataforma no admite el algoritmo.

El contenido de la clave está dañado o no se pudo leer correctamente.

Se aplica a