ECDiffieHellmanPublicKey Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ECDiffieHellmanPublicKey() |
Initializes a new instance of the ECDiffieHellmanPublicKey class. |
ECDiffieHellmanPublicKey(Byte[]) |
Obsolete.
Initializes a new instance of the ECDiffieHellmanPublicKey class. |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.1 |
- 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);
[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())
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
.NET 10 and other versions
Product | Versions (Obsolete) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6 (7, 8, 9, 10) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: