示例#1
0
        public void TestAddCAToURL()
        {
            string     url    = "http://localhost:99";
            HFCAClient client = HFCAClient.Create("ca1", url, null);

            client.CryptoSuite = crypto;
            string url2 = client.AddCAToURL(url);

            Assert.AreEqual(url + "?ca=ca1", url2);
        }