Home
last modified time | relevance | path

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

/PHP-8.0/ext/zip/examples/
H A Dencryption.php16 $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass);
25 $zip->setEncryptionName($file, ZipArchive::EM_AES_256);
/PHP-8.0/ext/zip/tests/
H A Dbug80833.phpt6 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
14 $create_zip->setEncryptionName("test.txt", ZipArchive::EM_AES_256, "first_password");
16 $create_zip->setEncryptionName("test2.txt", ZipArchive::EM_AES_256, "second_password");
H A Doo_encryption.phpt6 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
21 var_dump($zip->setEncryptionName('bar.txt', 9999, $pass)); // Fails
22 var_dump($zip->setEncryptionName('bar.txt', ZipArchive::EM_AES_256, $pass));
H A Doo_addglob2.phpt6 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encrytion not supported');
/PHP-8.0/ext/zip/
H A Dphp_zip.stub.php206 public function setEncryptionName(string $name, int $method, ?string $password = null) {} function in ZipArchive
H A Dphp_zip_arginfo.h348 ZEND_METHOD(ZipArchive, setEncryptionName);
437 ZEND_ME(ZipArchive, setEncryptionName, arginfo_class_ZipArchive_setEncryptionName, ZEND_ACC_PUBLIC)
H A Dphp_zip.c2269 PHP_METHOD(ZipArchive, setEncryptionName) argument

Completed in 16 milliseconds