Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ECDiffieHellman::ImportParameters Method (ECParameters)

 

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

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
virtual void ImportParameters(
	ECParameters parameters
)

Parameters

parameters
Type: System.Security.Cryptography::ECParameters

The curve's parameters to import.

Exception Condition
CryptographicException

parameters does not validate.

NotImplementedException

A derived class must override this method.

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.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft