Home
last modified time | relevance | path

Searched refs:setEncryptionName (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/zip/tests/
H A Dbug80833.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
15 $create_zip->setEncryptionName("test.txt", ZipArchive::EM_AES_256, "first_password");
17 $create_zip->setEncryptionName("test2.txt", ZipArchive::EM_AES_256, "second_password");
H A Doo_encryption.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
22 var_dump($zip->setEncryptionName('bar.txt', 9999, $pass)); // Fails
23 var_dump($zip->setEncryptionName('bar.txt', ZipArchive::EM_AES_256, $pass));
H A Doo_addglob2.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encrytion not supported');
/php-src/ext/zip/examples/
H A Dencryption.php16 $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass);
25 $zip->setEncryptionName($file, ZipArchive::EM_AES_256);
/php-src/ext/zip/
H A Dphp_zip.stub.php794 …public function setEncryptionName(string $name, int $method, #[\SensitiveParameter] ?string $passw…
H A Dphp_zip_arginfo.h388 ZEND_METHOD(ZipArchive, setEncryptionName);
480 ZEND_ME(ZipArchive, setEncryptionName, arginfo_class_ZipArchive_setEncryptionName, ZEND_ACC_PUBLIC)
H A Dphp_zip.c2343 PHP_METHOD(ZipArchive, setEncryptionName) argument

Completed in 31 milliseconds