public void Equals ()
{
X509Certificate x1 = new X509Certificate (cert1);
Assert.IsTrue (x1.Equals (x1), "Equals-Self-X");
Assert.IsTrue (x1.Equals ((object)x1), "Equals-Self-O");
X509Certificate x2 = new X509Certificate (cert1);
Assert.IsTrue (x1.Equals (x2), "Equals-12-X");
Assert.IsTrue (x1.Equals ((object)x2), "Equals-12-O");
Assert.IsTrue (x2.Equals (x1), "Equals-12-X");
Assert.IsTrue (x2.Equals ((object)x1), "Equals-12-O");
}