Пример #1
0
 public void Empty()
 {
     Assert.AreEqual("http://www.w3.org/TR/2001/REC-xml-c14n-20010315", info.CanonicalizationMethod, "CanonicalizationMethod");
     Assert.IsNull(info.Id, "Id");
     Assert.IsNotNull(info.References, "References");
     Assert.AreEqual(0, info.References.Count, "References.Count");
     Assert.IsNull(info.SignatureLength, "SignatureLength");
     Assert.IsNull(info.SignatureMethod, "SignatureMethod");
     Assert.AreEqual("System.Security.Cryptography.Xml.SignedInfo", info.ToString(), "ToString()");
 }
Пример #2
0
 public void Empty()
 {
     Assert.Equal("http://www.w3.org/TR/2001/REC-xml-c14n-20010315", info.CanonicalizationMethod);
     Assert.Null(info.Id);
     Assert.NotNull(info.References);
     Assert.Equal(0, info.References.Count);
     Assert.Null(info.SignatureLength);
     Assert.Null(info.SignatureMethod);
     Assert.Equal("System.Security.Cryptography.Xml.SignedInfo", info.ToString());
 }
Пример #3
0
 public void Empty()
 {
     Assert.Equal("http://www.w3.org/TR/2001/REC-xml-c14n-20010315", info.CanonicalizationMethod);
     Assert.Null(info.Id);
     Assert.NotNull(info.References);
     Assert.Empty(info.References);
     Assert.Null(info.SignatureLength);
     Assert.Null(info.SignatureMethod);
     Assert.Equal("Org.BouncyCastle.Crypto.Xml.SignedInfo", info.ToString());
 }