ECPrivateKeyParameters Constructor
ECPrivateKeyParameters(ECParameters)
Initializes a new instance of the ECPrivateKeyParameters class. It is a wrapper for the System.Security.Cryptography.ECParameters class.
C#
public ECPrivateKeyParameters(ECParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.ECParameters | parameters | The EC parameters. |
Remarks
This constructor is used to create an instance from a System.Security.Cryptography.ECParameters object. It will deep copy the parameters from the ECParameters object.
ECPrivateKeyParameters(ECDsa)
Initializes a new instance of the ECPrivateKeyParameters class using a System.Security.Cryptography.ECDsa object.
C#
public ECPrivateKeyParameters(ECDsa ecdsaObject)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.ECDsa | ecdsaObject | The ECDsa object. |
Remarks
It exports the parameters from the ECDsa object and deep copy the parameters from the ECParameters object.