X509Certificate2.GetMLDsaPrivateKey Methode

Definitie

Hiermee haalt u de MLDsa persoonlijke sleutel van dit certificaat op.

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

Retouren

De persoonlijke sleutel of null als dit certificaat geen ML-DSA persoonlijke sleutel heeft.

Kenmerken

Uitzonderingen

Er is een fout opgetreden bij het openen van de persoonlijke sleutel.

Van toepassing op