Searched refs:passphrase (Results 1 – 9 of 9) sorted by relevance
/PHP-7.3/ext/openssl/tests/ |
H A D | 001.phpt | 19 $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 D | openssl_free_key.phpt | 31 $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 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 | bug69215.phpt | 15 'passphrase' => 'elephpant', 33 'passphrase' => 'elephpant',
|
H A D | bug68879.phpt | 15 'passphrase' => 'elephpant',
|
H A D | bug68265.phpt | 15 'passphrase' => 'elephpant',
|
/PHP-7.3/ext/openssl/ |
H A D | README | 31 allow you to enter the passphrase as a parameter you may use the syntax 32 array($key, "passphrase") where $key can be a key specified using one of the 54 resource openssl_get_privatekey(mixed key [, string passphrase]) 57 encrypted a passphrase is needed. This can be supplied as second argument. 230 Private keys should be protected by a passphrase though.
|
H A D | openssl.c | 243 ZEND_ARG_INFO(0, passphrase) 250 ZEND_ARG_INFO(0, passphrase) 264 ZEND_ARG_INFO(0, passphrase) 3764 passphrase = Z_STRVAL_P(zphrase); in php_openssl_evp_from_zval() 3769 passphrase = Z_STRVAL(tmp); in php_openssl_evp_from_zval() 3870 if (passphrase == NULL) { in php_openssl_evp_from_zval() 3874 password.key = passphrase; in php_openssl_evp_from_zval() 4514 char * passphrase = NULL; in PHP_FUNCTION() local 4550 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION() 4627 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION() [all …]
|
H A D | xp_ssl.c | 589 char *passphrase = NULL; in php_openssl_passwd_callback() local 592 GET_VER_OPT_STRING("passphrase", passphrase); in php_openssl_passwd_callback() 594 if (passphrase) { in php_openssl_passwd_callback()
|
Completed in 33 milliseconds