Searched refs:passphrase (Results 1 – 8 of 8) sorted by relevance
/PHP-8.3/ext/openssl/tests/ |
H A D | openssl_free_key.phpt | 22 $passphrase = "banana"; 29 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf) or die("failed to export … 33 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase)); 42 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase); 52 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
|
H A D | 001.phpt | 20 $passphrase = "banana"; 28 if (!openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf)) { 35 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase)); 45 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase); 56 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
|
H A D | openssl_pkey_export_basic.phpt | 24 // 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'));
|
H A D | openssl_pkey_export_to_file_leak.phpt | 10 var_dump(openssl_pkey_export_to_file($key, str_repeat("a", 10000), passphrase: ""));
|
H A D | openssl_pkey_export_to_file_object_to_string.phpt | 16 @openssl_pkey_export_to_file($key, str_repeat("a", 10000), passphrase: "");
|
/PHP-8.3/ext/openssl/ |
H A D | openssl_arginfo.h | 56 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 D | openssl.c | 3571 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval() 3580 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval() 3673 if (passphrase == NULL) { in php_openssl_pkey_from_zval() 3677 password.key = passphrase; in php_openssl_pkey_from_zval() 4736 char * passphrase = NULL; in PHP_FUNCTION() local 4750 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION() 4773 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION() 4808 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local 4834 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION() 4901 char * passphrase = ""; in PHP_FUNCTION() local [all …]
|
H A D | xp_ssl.c | 658 char *passphrase = NULL; in php_openssl_passwd_callback() local 661 GET_VER_OPT_STRING("passphrase", passphrase); in php_openssl_passwd_callback() 663 if (passphrase) { in php_openssl_passwd_callback()
|
Completed in 67 milliseconds