security: Separate TPM locator modification and database resetting in PIB
Change-Id: I80c2805b6e1204b95d59a090a6a04e1ee62fb6e5
Refs: #3203
diff --git a/src/security/pib/pib-sqlite3.hpp b/src/security/pib/pib-sqlite3.hpp
index bd5819a..806a29c 100644
--- a/src/security/pib/pib-sqlite3.hpp
+++ b/src/security/pib/pib-sqlite3.hpp
@@ -60,7 +60,6 @@
~PibSqlite3();
public: // TpmLocator management
-
void
setTpmLocator(const std::string& tpmLocator) final;
@@ -68,7 +67,6 @@
getTpmLocator() const final;
public: // Identity management
-
bool
hasIdentity(const Name& identity) const final;
@@ -78,6 +76,9 @@
void
removeIdentity(const Name& identity) final;
+ void
+ clearIdentities() final;
+
std::set<Name>
getIdentities() const final;