From efac8ced90879f34919eb55055423523b146d33e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 3 Dec 2014 16:52:44 +0100 Subject: Update OCA\Encryption to OCA\Files_Encryption in the encryption app itself --- apps/files_encryption/lib/crypt.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/files_encryption/lib/crypt.php') diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php index 34b676dba2c..38993ba65b0 100644 --- a/apps/files_encryption/lib/crypt.php +++ b/apps/files_encryption/lib/crypt.php @@ -133,7 +133,7 @@ class Crypt { * Check if a file's contents contains an IV and is symmetrically encrypted * @param string $content * @return boolean - * @note see also OCA\Encryption\Util->isEncryptedPath() + * @note see also \OCA\Files_Encryption\Util->isEncryptedPath() */ public static function isCatfileContent($content) { @@ -190,7 +190,7 @@ class Crypt { * @param string $passphrase * @param string $cypher used for encryption, currently we support AES-128-CFB and AES-256-CFB * @return string encrypted file content - * @throws \OCA\Encryption\Exception\EncryptionException + * @throws \OCA\Files_Encryption\Exception\EncryptionException */ private static function encrypt($plainContent, $iv, $passphrase = '', $cipher = Crypt::DEFAULT_CIPHER) { @@ -379,7 +379,7 @@ class Crypt { * @param string $plainContent content to be encrypted * @param array $publicKeys array keys must be the userId of corresponding user * @return array keys: keys (array, key = userId), data - * @throws \OCA\Encryption\Exception\MultiKeyEncryptException if encryption failed + * @throws \OCA\Files_Encryption\Exception\MultiKeyEncryptException if encryption failed * @note symmetricDecryptFileContent() can decrypt files created using this method */ public static function multiKeyEncrypt($plainContent, array $publicKeys) { @@ -425,7 +425,7 @@ class Crypt { * @param string $encryptedContent * @param string $shareKey * @param mixed $privateKey - * @throws \OCA\Encryption\Exception\MultiKeyDecryptException if decryption failed + * @throws \OCA\Files_Encryption\Exception\MultiKeyDecryptException if decryption failed * @internal param string $plainContent contains decrypted content * @return string $plainContent decrypted string * @note symmetricDecryptFileContent() can be used to decrypt files created using this method @@ -554,7 +554,7 @@ class Crypt { * get chiper from header * * @param array $header - * @throws \OCA\Encryption\Exception\EncryptionException + * @throws \OCA\Files_Encryption\Exception\EncryptionException */ public static function getCipher($header) { $cipher = isset($header['cipher']) ? $header['cipher'] : 'AES-128-CFB'; -- cgit v1.2.3