Sprache

X509Certificate2.GetMLKemPrivateKey Methode

Definition

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

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

Gibt zurück

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

Attribute

Ausnahmen

Fehler beim Zugriff auf den privaten Schlüssel.

Gilt für: