Searched refs:pkey (Results 1 – 17 of 17) sorted by relevance
/php-src/ext/phar/tests/tar/ |
H A D | phar_setsignaturealgo2.phpt | 39 $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 D | openssl.c | 229 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 D | xp_ssl.c | 1271 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 D | bug66501.phpt | 11 $pkey = 'ASN1 OID: prime256v1 20 $key = openssl_pkey_get_private($pkey);
|
H A D | bug60632.phpt | 8 $pkey = openssl_pkey_new(array( 15 $details = openssl_pkey_get_details($pkey);
|
H A D | openssl_spki_new_basic.phpt | 26 foreach ($pkeys as $pkey) { 30 var_dump(openssl_spki_new($pkey, _uuid(), $value));
|
H A D | openssl_spki_export_basic.phpt | 32 foreach ($pkeys as $pkey) { 36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
|
H A D | openssl_spki_verify_basic.phpt | 27 foreach ($pkeys as $pkey) { 31 $spkac = openssl_spki_new($pkey, _uuid(), $value);
|
H A D | bug74720_1.phpt | 30 $pkey = "-----BEGIN PRIVATE KEY----- 71 $pkey,
|
H A D | bug74720_0.phpt | 30 $pkey = "-----BEGIN PRIVATE KEY----- 72 openssl_pkcs7_decrypt($tmpFileOut, $tmpFileOut2, $cert, $pkey);
|
H A D | bug74798.phpt | 30 $pkey = "-----BEGIN PRIVATE KEY----- 71 openssl_pkcs7_decrypt($tmpFileOut, $tmpFileOut2, $cert, $pkey);
|
H A D | openssl_spki_export_challenge_basic.phpt | 32 foreach ($pkeys as $pkey) { 36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
|
H A D | bug74903.phpt | 30 $pkey = "-----BEGIN PRIVATE KEY-----
|
H A D | openssl_pkcs12_read_basic.phpt | 45 ["pkey"]=>
|
H A D | openssl_error_string_basic_openssl3.phpt | 105 // 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 D | openssl_error_string_basic.phpt | 101 // 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 D | phar_setsignaturealgo2.phpt | 39 $pkey = ''; 40 openssl_pkey_export($private, $pkey, NULL, $config_arg); 41 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
|
Completed in 39 milliseconds