projects
/
platform
/
core
/
security
/
ode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change elmConfig path for applying read-only root filesystem
[platform/core/security/ode.git]
/
lib
/
internal-encryption.cpp
diff --git
a/lib/internal-encryption.cpp
b/lib/internal-encryption.cpp
index
d1ac2e0
..
c1bf9e3
100644
(file)
--- a/
lib/internal-encryption.cpp
+++ b/
lib/internal-encryption.cpp
@@
-62,6
+62,15
@@
int InternalEncryption::decrypt(const std::string& password)
}
}
+int InternalEncryption::recovery()
+{
+ try {
+ return context->methodCall<int>("InternalEncryption::recovery");
+ } catch (runtime::Exception& e) {
+ return -1;
+ }
+}
+
int InternalEncryption::isPasswordInitialized()
{
try {