ECDiffieHellmanCng.ExportExplicitParameters(Boolean) 方法

定义

ECCurve 对象使用的密钥和显式曲线参数导出到 ECParameters 对象。Exports the key and explicit curve parameters used by the ECCurve object into an ECParameters object.

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

参数

includePrivateParameters
Boolean

若要包含专用参数,则为 true;否则为 falsetrue to include private parameters; otherwise, false.

返回

ECCurve 对象使用的密钥和显式曲线参数。The key and explicit curve parameters used by the ECCurve object.

异常

此方法无法获取曲线值。The method cannot obtain curve values.

此平台不支持显式导出。Explicit export is not supported by this platform. 必须使用 Windows 10 或更高版本。Windows 10 or higher is required.

适用于