The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ECDsaCng Constructor (ECCurve)
Initializes a new instance of the ECDsaCng class whose public/private key pair is generated over the specified curve.
Assembly: System.Core (in System.Core.dll)
Parameters
- curve
-
Type:
System.Security.Cryptography::ECCurve
The curve used to generate the public/private key pair.
| Exception | Condition |
|---|---|
| CryptographicException | curve does not validate. |
curve must validate (that is, it must return true) when passed to the ECCurve::Validate method and must be either a named or explicit prime.
.NET Framework
Available since 4.7
Available since 4.7
Show: