Bewerken

Share via


ECDiffieHellman.ExportExplicitParameters(Boolean) Method

Definition

When overridden in a derived class, exports either the public or the public and private key information using the explicit curve form from a working ECDiffieHellman key to an ECParameters structure so that it can be passed to the ImportParameters(ECParameters) method.

public:
 virtual System::Security::Cryptography::ECParameters ExportExplicitParameters(bool includePrivateParameters);
public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters (bool includePrivateParameters);
abstract member ExportExplicitParameters : bool -> System.Security.Cryptography.ECParameters
override this.ExportExplicitParameters : bool -> System.Security.Cryptography.ECParameters
Public Overridable 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

A derived class must override this method.

Applies to