語言

ECDiffieHellmanPublicKey 建構函式

定義

初始化 ECDiffieHellmanPublicKey 類別的新執行個體。

多載

名稱 Description
ECDiffieHellmanPublicKey()

初始化 ECDiffieHellmanPublicKey 類別的新執行個體。

ECDiffieHellmanPublicKey(Byte[])
已淘汰.

初始化 ECDiffieHellmanPublicKey 類別的新執行個體。

ECDiffieHellmanPublicKey()

來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs

初始化 ECDiffieHellmanPublicKey 類別的新執行個體。

protected:
 ECDiffieHellmanPublicKey();
protected ECDiffieHellmanPublicKey();
Protected Sub New ()

適用於

ECDiffieHellmanPublicKey(Byte[])

來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs
來源:
ECDiffieHellmanPublicKey.cs

警告

ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.

初始化 ECDiffieHellmanPublicKey 類別的新執行個體。

protected:
 ECDiffieHellmanPublicKey(cli::array <System::Byte> ^ keyBlob);
[System.Obsolete("ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.", DiagnosticId="SYSLIB0043", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ECDiffieHellmanPublicKey(byte[] keyBlob);
protected ECDiffieHellmanPublicKey(byte[] keyBlob);
[<System.Obsolete("ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.", DiagnosticId="SYSLIB0043", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.ECDiffieHellmanPublicKey : byte[] -> System.Security.Cryptography.ECDiffieHellmanPublicKey
new System.Security.Cryptography.ECDiffieHellmanPublicKey : byte[] -> System.Security.Cryptography.ECDiffieHellmanPublicKey
Protected Sub New (keyBlob As Byte())

參數

keyBlob
Byte[]

一個代表物件 ECDiffieHellmanPublicKey 的位元組陣列。

屬性

例外狀況

keyBlob 是 null。

備註

此構造子由從該 ECDiffieHellmanPublicKey 類別衍生的類別呼叫。 此 ECDiffieHellmanCngPublicKey 類別是目前唯一支援的實作。

適用於