/*
- * Copyright (c) 2014-2020 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2014-2021 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
const Policy &policy);
int unlockSystemDB();
-
private:
// select private/system database depending on asking uid and owner id.
// output: database handler for effective owner
const Name &name,
const ClientId &owner,
const Crypto::Data &data,
- const Policy &policy);
+ const Policy &policy,
+ const RawBuffer &hash);
int getPKCS12Helper(
const Credentials &cred,
const PKCS12Serializable &pkcs,
const PolicySerializable &keyPolicy,
const PolicySerializable &certPolicy,
- DB::RowVector &output);
+ DB::RowVector &output,
+ const Credentials &cred);
int removeDataHelper(
const Credentials &cred,
Crypto::GObjUPtr rowToObject(
UserData &handler,
DB::Row row,
- const Password &password);
-
+ const Password &password,
+ const RawBuffer &hash);
protected:
int readDataHelper(
bool exportFlag,