ECDiffieHellman.ImportParameters(ECParameters) Method
Definition
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.
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.