summaryrefslogtreecommitdiffstats
path: root/lib/public/Encryption/Keys/IStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Encryption/Keys/IStorage.php')
-rw-r--r--lib/public/Encryption/Keys/IStorage.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Encryption/Keys/IStorage.php b/lib/public/Encryption/Keys/IStorage.php
index e17de04316b..c96d1573b38 100644
--- a/lib/public/Encryption/Keys/IStorage.php
+++ b/lib/public/Encryption/Keys/IStorage.php
@@ -170,4 +170,14 @@ interface IStorage {
*/
public function copyKeys($source, $target);
+ /**
+ * backup keys of a given encryption module
+ *
+ * @param string $encryptionModuleId
+ * @param string $purpose
+ * @param string $uid
+ * @return bool
+ * @since 12.0.0
+ */
+ public function backupUserKeys($encryptionModuleId, $purpose, $uid);
}