ECDiffieHellmanOpenSsl.ExportExplicitParameters(Boolean) Method

Definition

Exports either the public or the public and private key information using the explicit curve form from the current key to an ECParameters structure so that it can be passed to the ImportParameters(ECParameters) method.

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

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

An object that represents the point on the curve for this key, using the explicit curve format.

Exceptions

The method cannot obtain curve values.

Applies to