Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/tests/
H A D001.phpt19 $passphrase = "banana";
27 if (!openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf)) {
34 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
44 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
55 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
H A Dopenssl_free_key.phpt30 $passphrase = "banana";
37 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf) or die("failed to export …
41 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
50 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
60 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
H A Dopenssl_pkey_export_basic.phpt24 // Export key with passphrase
25 openssl_pkey_export($key, $output, 'passphrase', $config_arg);
27 $details = openssl_pkey_get_details(openssl_pkey_get_private($output, 'passphrase'));
/PHP-8.0/ext/openssl/
H A Dopenssl.stub.php40 …te|string $certificate, string $output_filename, $private_key, string $passphrase, array $options … argument
46 …penSSLCertificate|string $certificate, &$output, $private_key, string $passphrase, array $options … argument
49 function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase): bool {} argument
69 function openssl_pkey_export_to_file($key, string $output_filename, ?string $passphrase = null, ?ar… argument
75 function openssl_pkey_export($key, &$output, ?string $passphrase = null, ?array $options = null): b… argument
96 function openssl_pkey_get_private($private_key, ?string $passphrase = null): OpenSSLAsymmetricKey|f… argument
102 function openssl_get_privatekey($private_key, ?string $passphrase = null): OpenSSLAsymmetricKey|fal… argument
201 function openssl_encrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, s… argument
203 function openssl_decrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, s… argument
H A Dopenssl_arginfo.h56 ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0)
64 ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0)
71 ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0)
119 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, passphrase, IS_STRING, 1, "null")
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, passphrase, IS_STRING, 1, "null")
144 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, passphrase, IS_STRING, 1, "null")
331 ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0)
342 ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0)
H A Dopenssl.c3640 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval()
3648 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval()
3736 if (passphrase == NULL) { in php_openssl_pkey_from_zval()
3740 password.key = passphrase; in php_openssl_pkey_from_zval()
4390 char * passphrase = NULL; in PHP_FUNCTION() local
4404 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4427 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4473 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local
4499 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4581 char * passphrase = ""; in PHP_FUNCTION() local
[all …]
H A Dxp_ssl.c605 char *passphrase = NULL; in php_openssl_passwd_callback() local
608 GET_VER_OPT_STRING("passphrase", passphrase); in php_openssl_passwd_callback()
610 if (passphrase) { in php_openssl_passwd_callback()

Completed in 28 milliseconds