Sprache

X509Certificate2.GetMLDsaPrivateKey Methode

Definition

Ruft den MLDsa privaten Schlüssel aus diesem Zertifikat ab.

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

Gibt zurück

Der private Schlüssel oder null wenn dieses Zertifikat nicht über einen ML-DSA privaten Schlüssel verfügt.

Attribute

Ausnahmen

Fehler beim Zugriff auf den privaten Schlüssel.

Gilt für: