private $util;
// base dir where all the file related keys are stored
+ /** @var string */
private $keys_base_dir;
+
+ /** @var string */
private $encryption_base_dir;
- private $keyCache = array();
+ /** @var array */
+ private $keyCache = [];
/**
- * @param string $encryptionModuleId
* @param View $view
* @param Util $util
*/
/**
* construct path to users key
*
+ * @param string $encryptionModuleId
* @param string $keyId
* @param string $uid
* @return string
/**
* get path to key folder for a given file
*
+ * @param string $encryptionModuleId
* @param string $path path to the file, relative to data/
* @return string
* @throws GenericEncryptionException
*
* @param string $source
* @param string $target
- * @param string $owner
- * @param bool $systemWide
*/
public function renameKeys($source, $target) {
*
* @param string $source
* @param string $target
- * @param string $owner
- * @param bool $systemWide
*/
public function copyKeys($source, $target) {
}
/**
- * Make preparations to filesystem for saving a keyfile
+ * Make preparations to filesystem for saving a key file
*
* @param string $path relative to the views root
*/