summaryrefslogtreecommitdiff
path: root/src/manager/service/ckm-logic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/service/ckm-logic.h')
-rw-r--r--src/manager/service/ckm-logic.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/manager/service/ckm-logic.h b/src/manager/service/ckm-logic.h
index 912f44c..dc66322 100644
--- a/src/manager/service/ckm-logic.h
+++ b/src/manager/service/ckm-logic.h
@@ -59,22 +59,23 @@ public:
CKMLogic& operator=(CKMLogic &&) = delete;
virtual ~CKMLogic();
- RawBuffer unlockUserKey(uid_t user, const Password &password, bool apiRequest = true);
+ RawBuffer unlockUserKey(const ClientID &clientID, const Password &password, bool apiRequest = true);
- RawBuffer lockUserKey(uid_t user);
+ RawBuffer lockUserKey(const ClientID &clientID);
- RawBuffer removeUserData(uid_t user);
+ RawBuffer removeUserData(const ClientID &clientID);
RawBuffer changeUserPassword(
- uid_t user,
+ const ClientID &clientID,
const Password &oldPassword,
const Password &newPassword);
RawBuffer resetUserPassword(
- uid_t user,
+ const ClientID &clientID,
const Password &newPassword);
RawBuffer removeApplicationData(
+ const std::string &zone,
const Label &smackLabel);
RawBuffer saveData(
@@ -185,7 +186,7 @@ public:
private:
void loadDKEKFile(
- uid_t user,
+ const ClientID &clientID,
const Password &password,
bool apiReq);
@@ -196,7 +197,7 @@ private:
const RawBuffer &second);
void saveDKEKFile(
- uid_t user,
+ const ClientID &clientID,
const Password &password);
int verifyBinaryData(
@@ -335,7 +336,7 @@ private:
const PermissionMask permissionMask);
- std::map<uid_t, UserData> m_userDataMap;
+ std::map<ClientID, UserData> m_userDataMap;
AccessControl m_accessControl;
//FileLock m_lock;
};