Exemple #1
0
        public void GetCertificateNoServerResponse()
        {
            HFCAClient client = HFCAClient.Create("http://localhost:99", null);

            client.CryptoSuite = crypto;

            HFCACertificateRequest certReq = client.NewHFCACertificateRequest();

            client.GetHFCACertificates(admin, certReq);
        }
Exemple #2
0
        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);
        }