ECPublicKeyParameters Constructor
ECPublicKeyParameters(ECParameters)
Initializes a new instance of the ECPublicKeyParameters class. It is a wrapper for the System.Security.Cryptography.ECParameters class.
C#
public ECPublicKeyParameters(ECParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.ECParameters | parameters |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when the parameters contain private key data (D value). |
Remarks
This constructor is used to create an instance from a System.Security.Cryptography.ECParameters object. It will deep copy the parameters from the System.Security.Cryptography.ECParameters object.
ECPublicKeyParameters(ECDsa)
Initializes a new instance of the ECPublicKeyParameters class.
C#
public ECPublicKeyParameters(ECDsa ecdsa)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.ECDsa | ecdsa |