Home
last modified time | relevance | path

Searched refs:pkey (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/phar/tests/tar/
H A Dphar_setsignaturealgo2.phpt39 $pkey = '';
40 openssl_pkey_export($private, $pkey, NULL, $config_arg);
41 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
43 $p->setSignatureAlgorithm(Phar::OPENSSL_SHA512, $pkey);
45 $p->setSignatureAlgorithm(Phar::OPENSSL_SHA256, $pkey);
/php-src/ext/openssl/
H A Dopenssl.c229 EVP_PKEY *pkey; member
256 obj->pkey = pkey; in php_openssl_pkey_object_init()
2840 if (pkey) { in PHP_FUNCTION()
4035 return pkey; in php_openssl_pkey_init_rsa()
4038 if (!pkey) { in php_openssl_pkey_init_rsa()
4058 return pkey; in php_openssl_pkey_init_rsa()
4168 return pkey; in php_openssl_pkey_init_dsa()
4171 if (!pkey) { in php_openssl_pkey_init_dsa()
4792 if (pkey) { in php_openssl_pkey_object_curve_25519_448()
5141 EVP_PKEY *pkey = Z_OPENSSL_PKEY_P(key)->pkey; in PHP_FUNCTION() local
[all …]
H A Dxp_ssl.c1271 EVP_PKEY *pkey = PEM_read_bio_Parameters(bio, NULL); in php_openssl_set_server_dh_param() local
1274 if (pkey == NULL) { in php_openssl_set_server_dh_param()
1279 if (SSL_CTX_set0_tmp_dh_pkey(ctx, pkey) == 0) { in php_openssl_set_server_dh_param()
1281 EVP_PKEY_free(pkey); in php_openssl_set_server_dh_param()
/php-src/ext/openssl/tests/
H A Dbug66501.phpt11 $pkey = 'ASN1 OID: prime256v1
20 $key = openssl_pkey_get_private($pkey);
H A Dbug60632.phpt8 $pkey = openssl_pkey_new(array(
15 $details = openssl_pkey_get_details($pkey);
H A Dopenssl_spki_new_basic.phpt26 foreach ($pkeys as $pkey) {
30 var_dump(openssl_spki_new($pkey, _uuid(), $value));
H A Dopenssl_spki_export_basic.phpt32 foreach ($pkeys as $pkey) {
36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dopenssl_spki_verify_basic.phpt27 foreach ($pkeys as $pkey) {
31 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dbug74720_1.phpt30 $pkey = "-----BEGIN PRIVATE KEY-----
71 $pkey,
H A Dbug74720_0.phpt30 $pkey = "-----BEGIN PRIVATE KEY-----
72 openssl_pkcs7_decrypt($tmpFileOut, $tmpFileOut2, $cert, $pkey);
H A Dbug74798.phpt30 $pkey = "-----BEGIN PRIVATE KEY-----
71 openssl_pkcs7_decrypt($tmpFileOut, $tmpFileOut2, $cert, $pkey);
H A Dopenssl_spki_export_challenge_basic.phpt32 foreach ($pkeys as $pkey) {
36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dbug74903.phpt30 $pkey = "-----BEGIN PRIVATE KEY-----
H A Dopenssl_pkcs12_read_basic.phpt45 ["pkey"]=>
H A Dopenssl_error_string_basic_openssl3.phpt105 // file for pkey (file:///) fails when opennig (BIO_new_file)
108 // file or private pkey is not correct PEM - failing PEM_read_bio_PrivateKey
H A Dopenssl_error_string_basic.phpt101 // file for pkey (file:///) fails when opennig (BIO_new_file)
104 // file or private pkey is not correct PEM - failing PEM_read_bio_PrivateKey
/php-src/ext/phar/tests/
H A Dphar_setsignaturealgo2.phpt39 $pkey = '';
40 openssl_pkey_export($private, $pkey, NULL, $config_arg);
41 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);

Completed in 41 milliseconds