ECDiffieHellmanPublicKey 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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);
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 物件。
- 屬性
例外狀況
keyBlob
為 null
。
備註
這個建構函式是由衍生自 類別的類別所 ECDiffieHellmanPublicKey 呼叫。 類別 ECDiffieHellmanCngPublicKey 是唯一支持的實作。