public void TestRevoke2NullUser() { HFCAClient client = HFCAClient.Create("client", "http://localhost:99", null); client.CryptoSuite = crypto; client.Revoke(null, admin.Name, "keyCompromise"); }
public void TestRevoke2NullEnrollment() { HFCAClient client = HFCAClient.Create("client", "http://localhost:99", null); client.CryptoSuite = crypto; client.Revoke(admin, (string)null, "keyCompromise"); }
public void TestRevoke1NullUser() { HFCAClient client = HFCAClient.Create("client", "http://localhost:99", null); client.CryptoSuite = crypto; KeyPair keypair = crypto.KeyGen(); IEnrollment enrollment = new X509Enrollment(keypair, "abc"); client.Revoke(null, enrollment, "keyCompromise"); }