public override int GetHashCode() { unchecked { var hashCode = 0; hashCode = (hashCode * 397) ^ (ChallengeSha256 != null ? ChallengeSha256.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ApplicationSha256 != null ? ApplicationSha256.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (KeyHandle != null ? KeyHandle.GetHashCode() : 0); return(hashCode); } }
protected bool Equals(KeySignRequest other) { return(ChallengeSha256.SequenceEqual(other.ChallengeSha256) && ApplicationSha256.SequenceEqual(other.ApplicationSha256) && KeyHandle.SequenceEqual(other.KeyHandle)); }