ECPublicKeyParameters Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllRepresents the parameters for an Elliptic Curve (EC) public key.
C#
public class ECPublicKeyParameters : ECKeyParameters
Remarks
This class encapsulates the parameters specific to EC public keys, ensuring that the key only contains only necessary public key components. It extends the base ECKeyParameters class with additional validation to prevent the inclusion of private key data.
Constructors
Name | Description |
---|---|
ECPublicKeyParameters(ECDsa) | Initializes a new instance of the ECPublicKeyParameters class. |
ECPublicKeyParameters(ECParameters) | Initializes a new instance of the ECPublicKeyParameters class. It is a wrapper for the System.Security.Cryptography.ECParameters class. |
Methods
Name | Description |
---|---|
GetBytes() | Gets the bytes representing the public key coordinates. |