public void GetCertificateNoServerResponse() { HFCAClient client = HFCAClient.Create("http://localhost:99", null); client.CryptoSuite = crypto; HFCACertificateRequest certReq = client.NewHFCACertificateRequest(); client.GetHFCACertificates(admin, certReq); }
public void TestHFCACertificateNewInstance() { HFCAClient client = HFCAClient.Create("http://localhost:99", null); client.CryptoSuite = crypto; HFCACertificateRequest certReq = client.NewHFCACertificateRequest(); Assert.IsNotNull(certReq); Assert.AreEqual(typeof(HFCACertificateRequest).Name, certReq.GetType().Name); }