summaryrefslogtreecommitdiffstats
path: root/lib/public/encryption/iencryptionmodule.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/encryption/iencryptionmodule.php')
-rw-r--r--lib/public/encryption/iencryptionmodule.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/encryption/iencryptionmodule.php b/lib/public/encryption/iencryptionmodule.php
index 183b322e714..a5cd7075691 100644
--- a/lib/public/encryption/iencryptionmodule.php
+++ b/lib/public/encryption/iencryptionmodule.php
@@ -23,6 +23,8 @@
*/
namespace OCP\Encryption;
+use Symfony\Component\Console\Input\InputInterface;
+use Symfony\Component\Console\Output\OutputInterface;
/**
* Interface IEncryptionModule
@@ -134,4 +136,14 @@ interface IEncryptionModule {
*/
public function isReadable($path, $uid);
+ /**
+ * Initial encryption of all files
+ *
+ * @param InputInterface $input
+ * @param OutputInterface $output write some status information to the terminal during encryption
+ * @return bool
+ * @since 8.2.0
+ */
+ public function encryptAll(InputInterface $input, OutputInterface $output);
+
}