ECDiffieHellmanPublicKey 构造函数

定义

重载

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 对象的字节数组。

属性

例外

keyBlobnull

注解

此构造函数由派生自该类的 ECDiffieHellmanPublicKey 类调用。 该 ECDiffieHellmanCngPublicKey 类是当前唯一支持的实现。

适用于