ECDsaOpenSsl.ExportParameters(Boolean) Method

Definition

Exports the key used by the Elliptic curve cryptography (ECC) object into an ECParameters object. If the key was created as a named curve, the Curve field contains named curve parameters; otherwise, it contains explicit parameters.

public:
 override System::Security::Cryptography::ECParameters ExportParameters(bool includePrivateParameters);
public override System.Security.Cryptography.ECParameters ExportParameters (bool includePrivateParameters);
override this.ExportParameters : bool -> System.Security.Cryptography.ECParameters
Public Overrides Function ExportParameters (includePrivateParameters As Boolean) As ECParameters

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

The key and named curve parameters used by the ECC object.

Exceptions

An error occurred while obtaining the curve values.

Applies to