Fixing the Add/Delete Contact bug, now when a contact is added and removed, the panelPolicyManager will add/remove the contact into/from trust anchors
Change-Id: Ia7a8bc5c6cbe1744018410c0ca0019db3e5d3994
diff --git a/src/contact-manager.h b/src/contact-manager.h
index 6de23d4..a19135f 100644
--- a/src/contact-manager.h
+++ b/src/contact-manager.h
@@ -84,6 +84,10 @@
void
addContact(const ndn::security::IdentityCertificate& idCert, const Profile& profile);
+ void
+ removeContact(const ndn::Name& contactNameSpace);
+
+
private:
void
setKeychain();
@@ -168,6 +172,12 @@
void
warning(QString msg);
+ void
+ contactRemoved(const ndn::Name& identity);
+
+ void
+ contactAdded(const ndn::Name& identity);
+
private slots: