ECPublicKey Constructor
ECPublicKey(ECParameters)
Initializes a new instance of the ECPublicKey class. It is a wrapper for the System.Security.Cryptography.ECParameters class.
C#
protected ECPublicKey(ECParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
ECParameters | parameters |
Exceptions
Type | Condition |
---|---|
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.
ECPublicKey(ECDsa)
Initializes a new instance of the ECPublicKey class.
C#
protected ECPublicKey(ECDsa ecdsa)
Parameters
Type | Name | Description |
---|---|---|
ECDsa | ecdsa |