X509Certificate2.GetECDiffieHellmanPrivateKey Metoda

Definice

ECDiffieHellman Získá privátní klíč z tohoto certifikátu.

public:
 System::Security::Cryptography::ECDiffieHellman ^ GetECDiffieHellmanPrivateKey();
public System.Security.Cryptography.ECDiffieHellman? GetECDiffieHellmanPrivateKey ();
member this.GetECDiffieHellmanPrivateKey : unit -> System.Security.Cryptography.ECDiffieHellman
Public Function GetECDiffieHellmanPrivateKey () As ECDiffieHellman

Návraty

Privátní klíč nebo null pokud tento certifikát nemá privátní klíč ECDiffieHellman.

Výjimky

Popisovač je neplatný.

Platí pro