Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            X509Crl x509Crl = obj as X509Crl;

            if (x509Crl == null)
            {
                return(false);
            }
            return(c.Equals(x509Crl.c));
        }
Exemplo n.º 2
0
        public override bool Equals(
            object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            X509Crl other = obj as X509Crl;

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

            return(c.Equals(other.c));

            // NB: May prefer this implementation of Equals if more than one certificate implementation in play
            //return Arrays.AreEqual(this.GetEncoded(), other.GetEncoded());
        }