ECDsa.GenerateKey(ECCurve) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.