PublicKey.GetMLKemPublicKey Méthode

Définition

Obtient la MLKem clé publique ou null si la clé n’est pas une clé 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

Retours

Clé publique ou null si la clé n’est pas une clé ML-KEM.

Attributs

Exceptions

L’objet représente une clé publique ML-KEM, mais la plateforme ne prend pas en charge l’algorithme.

Le contenu de la clé est endommagé ou n’a pas pu être lu correctement.

S’applique à