Change elmConfig path for applying read-only root filesystem
[platform/core/security/ode.git] / lib / internal-encryption.cpp
index d1ac2e0..c1bf9e3 100644 (file)
@@ -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 {