summaryrefslogtreecommitdiff
path: root/src/manager/service/crypto-logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/service/crypto-logic.cpp')
-rw-r--r--src/manager/service/crypto-logic.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/manager/service/crypto-logic.cpp b/src/manager/service/crypto-logic.cpp
index d6eb241..5f0e778 100644
--- a/src/manager/service/crypto-logic.cpp
+++ b/src/manager/service/crypto-logic.cpp
@@ -75,6 +75,11 @@ void CryptoLogic::pushKey(const Label &smackLabel,
m_keyMap[smackLabel] = applicationKey;
}
+void CryptoLogic::removeKey(const Label &smackLabel)
+{
+ m_keyMap.erase(smackLabel);
+}
+
RawBuffer CryptoLogic::encryptDataAesCbc(
const RawBuffer &data,
const RawBuffer &key,