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.

Атрибуты

Исключения

keyBlob имеет значение null.

Комментарии

Этот конструктор вызывается классами, производными от ECDiffieHellmanPublicKey класса. Класс ECDiffieHellmanCngPublicKey является единственной поддерживаемой в настоящее время реализацией.

Применяется к