예제 #1
0
        public override bool Equals(
            object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            DsaPrivateKeyParameters other = obj as DsaPrivateKeyParameters;

            if (other == null)
            {
                return(false);
            }

            return(Equals(other));
        }
예제 #2
0
 protected bool Equals(
     DsaPrivateKeyParameters other)
 {
     return(x.Equals(other.x) && base.Equals(other));
 }