Implement hashCode and equals for SignInfo