ECDsaCng.GenerateKey(ECCurve) 方法

定义

为指定曲线生成新的临时公钥/私钥对,替换当前密钥。

public:
 override void GenerateKey(System::Security::Cryptography::ECCurve curve);
public override void GenerateKey (System.Security.Cryptography.ECCurve curve);
override this.GenerateKey : System.Security.Cryptography.ECCurve -> unit
Public Overrides Sub GenerateKey (curve As ECCurve)

参数

curve
ECCurve

用于生成密钥的曲线。

例外

curve 不进行验证。

适用于