diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-08-24 15:56:04 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-08-26 14:58:22 +0200 |
commit | 8c08dd0ac26290829b10e28c333358ae10d953eb (patch) | |
tree | a80791395ea10b3bc2573d2576a12ceb396d71da /lib | |
parent | 6c8c8a328abb0823a8b20e30c2ace06f2b568ea3 (diff) | |
download | nextcloud-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.php | 12 |
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); + } |