X509Certificate2.GetMLDsaPrivateKey Metodo

Definizione

Ottiene la MLDsa chiave privata da questo certificato.

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

Valori restituiti

Chiave privata o null se il certificato non dispone di una chiave privata ML-DSA.

Attributi

Eccezioni

Si è verificato un errore durante l'accesso alla chiave privata.

Si applica a