summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-08-24 15:56:04 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-08-26 14:58:22 +0200
commit8c08dd0ac26290829b10e28c333358ae10d953eb (patch)
treea80791395ea10b3bc2573d2576a12ceb396d71da /lib
parent6c8c8a328abb0823a8b20e30c2ace06f2b568ea3 (diff)
downloadnextcloud-server-8c08dd0ac26290829b10e28c333358ae10d953eb.tar.gz
nextcloud-server-8c08dd0ac26290829b10e28c333358ae10d953eb.zip
occ tool to encrypt all files
Diffstat (limited to 'lib')
-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);
+
}