public bool Equals(StealthKeyPair other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(null, other)) { return(false); } return(PayloadPubKey.Equals(other.PayloadPubKey) && ViewPubKey.Equals(other.ViewPubKey)); }
public bool Equals(KeyPair other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(null, other)) { return(false); } return(PublicKey.Equals(other.PublicKey)); }
public bool Equals(KeyPair other) { TR.Enter(); if (ReferenceEquals(this, other)) { return(TR.Exit(true)); } if (ReferenceEquals(null, other)) { return(TR.Exit(false)); } return(TR.Exit(PublicKey.Equals(other.PublicKey))); }
public bool Equals(StealthKeyPair other) { if (ReferenceEquals(this, other)) return true; if (ReferenceEquals(null, other)) return false; return PayloadPubKey.Equals(other.PayloadPubKey) && ViewPubKey.Equals(other.ViewPubKey); }