/// <summary>
 /// Constructs a new <see cref="EcDsaJsonWebKey"/> instance
 /// </summary>
 /// <param name="id">The key id (kid)</param>
 /// <param name="expiresAt">When the key expires</param>
 /// <param name="parameters">Curve point definition</param>
 public EcDsaJsonWebKey(
     string id,
     DateTimeOffset?expiresAt,
     ECParameters parameters
     ) : base(id, expiresAt)
 {
     m_parameters        = parameters;
     (m_curve, m_x, m_y) = ECParametersHelper.ToJose(parameters);
 }
 /// <summary>
 /// Constructs a new <see cref="EcDsaJsonWebKey"/> instance
 /// </summary>
 /// <param name="id">The key id (kid)</param>
 /// <param name="expiresAt">When the key expires</param>
 /// <param name="curve">The name of the Elliptic Curve</param>
 /// <param name="x">The x position of the point on the curve</param>
 /// <param name="y">The y position of the point on the curve</param>
 public EcDsaJsonWebKey(
     string id,
     DateTimeOffset?expiresAt,
     string curve,
     string x,
     string y
     ) : base(id, expiresAt)
 {
     m_parameters = ECParametersHelper.FromJose(curve, x, y);
     m_curve      = curve;
     m_x          = x;
     m_y          = y;
 }