@Override
  public boolean equalsKey(Key o) {
    if (!(o instanceof EciesPublicKey)) {
      return false;
    }
    EciesPublicKey other = (EciesPublicKey) o;
    // Since outputPrefix is a function of parameters, we can ignore it here.
    return parameters.equals(other.parameters)
        && Objects.equals(x25519PublicPointBytes, other.x25519PublicPointBytes)
        && Objects.equals(nistPublicPoint, other.nistPublicPoint)
        && Objects.equals(idRequirement, other.idRequirement);
  }
Returns the underlying public point as EC Point in case the curve is a NIST curve.

<p>Returns null for X25519 curves.
java_src/src/main/java/com/google/crypto/tink/hybrid/EciesPublicKey.java