Bewerken

Share via


ECDsa.GenerateKey(ECCurve) Method

Definition

When overridden in a derived class, generates a new ephemeral public/private key pair for the specified curve, replacing the current key.

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)

Parameters

curve
ECCurve

The curve to use to generate the key.

Exceptions

A derived class must override this method.

Applies to