ECDsa.GenerateKey(ECCurve) 方法

定义

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

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

参数

curve
ECCurve

用于生成密钥的曲线。

例外

派生方法必须重写此方法。

适用于