projects
/
platform
/
core
/
security
/
key-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implementation of ckmc_import_wrapped_key
[platform/core/security/key-manager.git]
/
src
/
include
/
ckm
/
ckm-manager.h
diff --git
a/src/include/ckm/ckm-manager.h
b/src/include/ckm/ckm-manager.h
index
68f613c
..
defe6ce
100644
(file)
--- a/
src/include/ckm/ckm-manager.h
+++ b/
src/include/ckm/ckm-manager.h
@@
-170,11
+170,24
@@
public:
const RawBuffer &encrypted,
RawBuffer &decrypted);
const RawBuffer &encrypted,
RawBuffer &decrypted);
+ int deriveKey(const CryptoAlgorithm &algo,
+ const Alias &secretAlias,
+ const Password &secretPassword,
+ const Alias &newKeyAlias,
+ const Policy &newKeyPolicy);
+
static ManagerShPtr create();
static ManagerShPtr create();
+ int importWrappedKey(const CryptoAlgorithm ¶ms,
+ const Alias &wrappingKeyAlias,
+ const Password &wrappingKeyPassword,
+ const Alias &alias,
+ const RawBuffer &encryptedKey,
+ const KeyType keyType,
+ const Policy &policy);
+
private:
std::unique_ptr<Impl> m_impl;
};
} // namespace CKM
private:
std::unique_ptr<Impl> m_impl;
};
} // namespace CKM
-