diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-19 13:01:52 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-19 13:01:52 +0100 |
commit | 7a1ab3bb5e4ba247a47f6824ad360b9f47a6dd46 (patch) | |
tree | 666690b114931c1389601a0ac9469c3e15b44ae3 /apps | |
parent | 7c3c26ab941fa436d9dfb90958928816affb70f2 (diff) | |
download | nextcloud-server-7a1ab3bb5e4ba247a47f6824ad360b9f47a6dd46.tar.gz nextcloud-server-7a1ab3bb5e4ba247a47f6824ad360b9f47a6dd46.zip |
Add class attribute types in encryption Util class
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/util.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index c811989127b..b300999ff24 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -43,18 +43,69 @@ class Util { const FILE_TYPE_VERSION = 1; const FILE_TYPE_CACHE = 2; + /** + * @var \OC\Files\View + */ private $view; // OC\Files\View object for filesystem operations + + /** + * @var string + */ private $userId; // ID of the user we use to encrypt/decrypt files + + /** + * @var string + */ private $keyId; // ID of the key we want to manipulate + + /** + * @var bool + */ private $client; // Client side encryption mode flag + + /** + * @var string + */ private $publicKeyDir; // Dir containing all public user keys + + /** + * @var string + */ private $encryptionDir; // Dir containing user's files_encryption + + /** + * @var string + */ private $keysPath; // Dir containing all file related encryption keys + + /** + * @var string + */ private $publicKeyPath; // Path to user's public key + + /** + * @var string + */ private $privateKeyPath; // Path to user's private key + + /** + * @var string + */ private $userFilesDir; + + /** + * @var string + */ private $publicShareKeyId; + + /** + * @var string + */ private $recoveryKeyId; + + /** + * @var bool + */ private $isPublic; /** |