## ECDsa::GenerateKey method


Generates a new public/private key pair for the specified curve.

```cpp
virtual void System::Security::Cryptography::ECDsa::GenerateKey(const ECCurve &curve)
```


| Parameter | Type | Description |
| --- | --- | --- |
| curve | const ECCurve\& | Curve to use to generate the keys. |

## See Also

* Class [ECDsa](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Font for C++](../../../)
