ECDiffieHellmanPublicKey 建構函式

定義

多載

ECDiffieHellmanPublicKey()

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

ECDiffieHellmanPublicKey(Byte[])
已淘汰.

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

ECDiffieHellmanPublicKey()

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

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

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

適用於

ECDiffieHellmanPublicKey(Byte[])

來源:
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);
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}")]
protected ECDiffieHellmanPublicKey (byte[] keyBlob);
new System.Security.Cryptography.ECDiffieHellmanPublicKey : byte[] -> System.Security.Cryptography.ECDiffieHellmanPublicKey
[<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
Protected Sub New (keyBlob As Byte())

參數

keyBlob
Byte[]

位元組陣列,代表 ECDiffieHellmanPublicKey 物件。

屬性

例外狀況

keyBlobnull

備註

這個建構函式是由衍生自 類別的類別所 ECDiffieHellmanPublicKey 呼叫。 類別 ECDiffieHellmanCngPublicKey 是唯一支援的實作。

適用於