DecryptAll¶
-
class
OC\Encryption\
DecryptAll
¶ Source: lib/private/Encryption/DecryptAll.php#40
Properties¶
-
protected static property
OC\Encryption\DecryptAll::$
output
¶ Source: lib/private/Encryption/DecryptAll.php#43 Type: \Symfony\Component\Console\Output\OutputInterface
-
protected static property
OC\Encryption\DecryptAll::$
input
¶ Source: lib/private/Encryption/DecryptAll.php#46 Type: \Symfony\Component\Console\Input\InputInterface
-
protected static property
OC\Encryption\DecryptAll::$
encryptionManager
¶ Source: lib/private/Encryption/DecryptAll.php#49 Type: \OC\Encryption\Manager
-
protected static property
OC\Encryption\DecryptAll::$
userManager
¶ Source: lib/private/Encryption/DecryptAll.php#52 Type: \OCP\IUserManager
-
protected static property
OC\Encryption\DecryptAll::$
rootView
¶ Source: lib/private/Encryption/DecryptAll.php#55 Type: \OC\Files\View
-
protected static property
OC\Encryption\DecryptAll::$
failed
¶ Source: lib/private/Encryption/DecryptAll.php#58 Type: array files which couldn’t be decrypted
Methods¶
-
public
OC\Encryption\DecryptAll::
__construct
($encryptionManager, $userManager, $rootView)¶ Source: Parameters: - $encryptionManager (
OC\Encryption\Manager
) - $userManager (
OCP\IUserManager
) - $rootView (
OC\Files\View
)
- $encryptionManager (
-
public
OC\Encryption\DecryptAll::
decryptAll
($input, $output, $user="")¶ - start to decrypt all files
Source: Parameters: - $input (
Symfony\Component\Console\Input\InputInterface
) - $output (
Symfony\Component\Console\Output\OutputInterface
) - $user (string) which users data folder should be decrypted, default = all users
Returns: bool
Throws: \Exception
- $input (
-
protected
OC\Encryption\DecryptAll::
prepareEncryptionModules
($user)¶ - prepare encryption modules to perform the decrypt all function
Source: Parameters: - $user
Returns: bool
-
protected
OC\Encryption\DecryptAll::
decryptAllUsersFiles
($user="")¶ - iterate over all user and encrypt their files
Source: Parameters: - $user (string) which users files should be decrypted, default = all users
-
protected
OC\Encryption\DecryptAll::
decryptUsersFiles
($uid, $progress, $userCount)¶ - encrypt files from the given user
Source: Parameters: - $uid (string)
- $progress (
Symfony\Component\Console\Helper\ProgressBar
) - $userCount (string)
-
protected
OC\Encryption\DecryptAll::
decryptFile
($path)¶ - encrypt file
Source: Parameters: - $path (string)
Returns: bool
-
protected
OC\Encryption\DecryptAll::
getTimestamp
()¶ - get current timestamp
Source: lib/private/Encryption/DecryptAll.php#283 Returns: int
-
protected
OC\Encryption\DecryptAll::
setupUserFS
($uid)¶ - setup user file system
Source: Parameters: - $uid (string)