Home
last modified time | relevance | path

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

/PHP-7.2/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.phpt31 $passphrase = "banana";
38 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf) or die("failed to export …
42 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
51 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
61 $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'));
H A Dbug69215.phpt15 'passphrase' => 'elephpant',
33 'passphrase' => 'elephpant',
H A Dbug68879.phpt15 'passphrase' => 'elephpant',
H A Dbug68265.phpt15 'passphrase' => 'elephpant',
/PHP-7.2/ext/openssl/
H A DREADME33 allow you to enter the passphrase as a parameter you may use the syntax
34 array($key, "passphrase") where $key can be a key specified using one of the
56 resource openssl_get_privatekey(mixed key [, string passphrase])
59 encrypted a passphrase is needed. This can be supplied as second argument.
232 Private keys should be protected by a passphrase though.
H A Dopenssl.c244 ZEND_ARG_INFO(0, passphrase)
251 ZEND_ARG_INFO(0, passphrase)
265 ZEND_ARG_INFO(0, passphrase)
3758 passphrase = Z_STRVAL_P(zphrase); in php_openssl_evp_from_zval()
3763 passphrase = Z_STRVAL(tmp); in php_openssl_evp_from_zval()
3864 if (passphrase == NULL) { in php_openssl_evp_from_zval()
3868 password.key = passphrase; in php_openssl_evp_from_zval()
4508 char * passphrase = NULL; in PHP_FUNCTION() local
4544 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4621 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
[all …]
H A Dxp_ssl.c585 char *passphrase = NULL; in php_openssl_passwd_callback() local
588 GET_VER_OPT_STRING("passphrase", passphrase); in php_openssl_passwd_callback()
590 if (passphrase) { in php_openssl_passwd_callback()

Completed in 30 milliseconds