public override bool Equals(object obj) { X509CertificateEntry other = obj as X509CertificateEntry; if (other == null) return false; return cert.Equals(other.cert); }