Redigera

Dela via


ECDiffieHellmanPublicKey Constructors

Definition

Overloads

ECDiffieHellmanPublicKey()

Initializes a new instance of the ECDiffieHellmanPublicKey class.

ECDiffieHellmanPublicKey(Byte[])
Obsolete.

Initializes a new instance of the ECDiffieHellmanPublicKey class.

ECDiffieHellmanPublicKey()

Source:
ECDiffieHellmanPublicKey.cs
Source:
ECDiffieHellmanPublicKey.cs
Source:
ECDiffieHellmanPublicKey.cs

Initializes a new instance of the ECDiffieHellmanPublicKey class.

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

Applies to

ECDiffieHellmanPublicKey(Byte[])

Source:
ECDiffieHellmanPublicKey.cs
Source:
ECDiffieHellmanPublicKey.cs
Source:
ECDiffieHellmanPublicKey.cs

Caution

ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.

Initializes a new instance of the ECDiffieHellmanPublicKey class.

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())

Parameters

keyBlob
Byte[]

A byte array that represents an ECDiffieHellmanPublicKey object.

Attributes

Exceptions

keyBlob is null.

Remarks

This constructor is called by classes that derive from the ECDiffieHellmanPublicKey class. The ECDiffieHellmanCngPublicKey class is the only currently supported implementation.

Applies to