ECDsaOpenSsl.ImportParameters(ECParameters) Method

Definition

Replaces the current key for this instance with one using the specified key parameters.

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

Parameters

parameters
ECParameters

The curve parameters.

Exceptions

parameters does not contain valid values.

Remarks

If parameters contains only Q, only a public key is imported. If parameters also contains D, a full key pair is imported. The Curve field specifies the type of the curve to import.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, 6
.NET Standard 2.0 (package-provided)