ECPrivateKeyParameters Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllRepresents the parameters for an Elliptic Curve (EC) private key.
C#
public class ECPrivateKeyParameters : ECKeyParameters
Remarks
This class encapsulates the parameters specific to EC private keys and contains the necessary private key data. It extends the base ECKeyParameters class with additional validation for private key components.
Constructors
Name | Description |
---|---|
ECPrivateKeyParameters(ECDsa) | Initializes a new instance of the ECPrivateKeyParameters class using a System.Security.Cryptography.ECDsa object. |
ECPrivateKeyParameters(ECParameters) | Initializes a new instance of the ECPrivateKeyParameters class. It is a wrapper for the System.Security.Cryptography.ECParameters class. |