Rediger

Del via


ECDsaCng.GenerateKey(ECCurve) Method

Definition

Generates a new ephemeral public/private key pair for the specified curve, replacing the current key.

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)

Parameters

curve
ECCurve

The curve to use to generate the key.

Exceptions

curve does not validate.

Applies to