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.

public:
 virtual void ImportParameters(System::Security::Cryptography::ECParameters parameters);
public virtual void ImportParameters (System.Security.Cryptography.ECParameters parameters);
abstract member ImportParameters : System.Security.Cryptography.ECParameters -> unit
override this.ImportParameters : System.Security.Cryptography.ECParameters -> unit
Public Overridable Sub ImportParameters (parameters As ECParameters)

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