ECDiffieHellmanPublicKey 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ECDiffieHellmanPublicKey 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ECDiffieHellmanPublicKey() |
初始化 ECDiffieHellmanPublicKey 類別的新執行個體。 |
| ECDiffieHellmanPublicKey(Byte[]) |
已淘汰.
初始化 ECDiffieHellmanPublicKey 類別的新執行個體。 |
ECDiffieHellmanPublicKey()
初始化 ECDiffieHellmanPublicKey 類別的新執行個體。
protected:
ECDiffieHellmanPublicKey();
protected ECDiffieHellmanPublicKey();
Protected Sub New ()
適用於
ECDiffieHellmanPublicKey(Byte[])
警告
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 類別是目前唯一支援的實作。