X509Certificate2.GetMLKemPrivateKey Método

Definición

Obtiene la MLKem clave privada de este certificado.

public:
 System::Security::Cryptography::MLKem ^ GetMLKemPrivateKey();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Security.Cryptography.MLKem? GetMLKemPrivateKey();
public System.Security.Cryptography.MLKem? GetMLKemPrivateKey();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.GetMLKemPrivateKey : unit -> System.Security.Cryptography.MLKem
member this.GetMLKemPrivateKey : unit -> System.Security.Cryptography.MLKem
Public Function GetMLKemPrivateKey () As MLKem

Devoluciones

La clave privada o null si este certificado no tiene una clave privada ML-KEM.

Atributos

Excepciones

Error al acceder a la clave privada.

Se aplica a