X509Certificate2.GetMLKemPrivateKey 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 privada deste 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
Retornos
A chave privada ou null se esse certificado não tiver uma chave privada ML-KEM.
- Atributos
Exceções
Ocorreu um erro ao acessar a chave privada.