/**
   * Compares all member variables of this object with the other object. Returns only true, if all
   * are equal in both objects.
   *
   * @param otherObject The other object to compare to.
   * @return True, if other is an instance of this class and all member variables of both objects
   *     are equal. False, otherwise.
   */
  public boolean equals(java.lang.Object otherObject) {
    boolean equal = false;

    if (otherObject instanceof DHPkcsDeriveParameters) {
      DHPkcsDeriveParameters other = (DHPkcsDeriveParameters) otherObject;
      equal = (this == other) || Functions.equals(this.publicValue_, other.publicValue_);
    }

    return equal;
  }
  /**
   * Compares all member variables of this object with the other object. Returns only true, if all
   * are equal in both objects.
   *
   * @param otherObject The other object to compare to.
   * @return True, if other is an instance of this class and all member variables of both objects
   *     are equal. False, otherwise.
   */
  public boolean equals(java.lang.Object otherObject) {
    boolean equal = false;

    if (otherObject instanceof DHKeyDerivationParameters) {
      DHKeyDerivationParameters other = (DHKeyDerivationParameters) otherObject;
      equal =
          (this == other)
              || ((this.keyDerivationFunction_ == other.keyDerivationFunction_)
                  && Functions.equals(this.publicData_, other.publicData_));
    }

    return equal;
  }