public void CRL() { KeyInfoX509Data data1 = new KeyInfoX509Data(); data1.SetCRL(x509crl); XmlElement xel = data1.GetXml(); KeyInfoX509Data data2 = new KeyInfoX509Data(); data2.LoadXml(xel); Assert.Equal((data1.GetXml().OuterXml), (data2.GetXml().OuterXml)); Assert.Equal(data1.GetCRL(), data2.GetCRL()); }