ECDsaCng.GenerateKey(ECCurve) Método

Definición

Genera un nuevo par de claves pública-privada efímeras para la curva especificada y reemplaza la clave actual.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)

Parámetros

curve
ECCurve

La curva que se usará para generar la clave.The curve to use to generate the key.

Excepciones

curve no se valida.curve does not validate.

Se aplica a