ECDiffieHellman.ImportParameters(ECParameters) Method

Definition

When overridden in a derived class, imports the specified parameters for an ECCurve as an ephemeral key into the current ECDiffieHellman object.

C#
public virtual void ImportParameters(System.Security.Cryptography.ECParameters parameters);

Parameters

parameters
ECParameters

The curve's parameters to import.

Exceptions

parameters does not validate.

A derived class must override this method.

Remarks

parameters must validate (that is, it must return true) when passed to the ECParameters.Validate method. Parameters over implicit curves are not supported.

Characteristic-2 curves are not supported on Windows.

Applies to

Tuote Versiot
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.1