@Override
  public boolean equalsKey(Key o) {
    if (!(o instanceof JwtEcdsaPrivateKey)) {
      return false;
    }
    JwtEcdsaPrivateKey that = (JwtEcdsaPrivateKey) o;
    return that.publicKey.equalsKey(publicKey)
        && privateKeyValue.equalsSecretBigInteger(that.privateKeyValue);
  }
Represents a key for computing JWT ECDSA signatures (ES256, ES384, ES512).

<p>See https://datatracker.ietf.org/doc/html/rfc7518 for more information.
java_src/src/main/java/com/google/crypto/tink/jwt/JwtEcdsaPrivateKey.java