Home
last modified time | relevance | path

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

/PHP-5.6/ext/openssl/
H A Dopenssl.c3490 if (pkey->pkey.rsa != NULL && (NULL == pkey->pkey.rsa->p || NULL == pkey->pkey.rsa->q)) { in php_openssl_is_private_key()
3503 if (NULL == pkey->pkey.dsa->p || NULL == pkey->pkey.dsa->q || NULL == pkey->pkey.dsa->priv_key){ in php_openssl_is_private_key()
3512 if (NULL == pkey->pkey.dh->p || NULL == pkey->pkey.dh->priv_key) { in php_openssl_is_private_key()
3936 if (pkey->pkey.rsa != NULL) { in PHP_FUNCTION()
3976 if (pkey->pkey.dh != NULL) { in PHP_FUNCTION()
3992 if (pkey->pkey.ec != NULL) { in PHP_FUNCTION()
4555 pkey->pkey.rsa, in PHP_FUNCTION()
4613 pkey->pkey.rsa, in PHP_FUNCTION()
4678 pkey->pkey.rsa, in PHP_FUNCTION()
4737 pkey->pkey.rsa, in PHP_FUNCTION()
[all …]
H A DREADME277 // Get PEM coded key into $pkey
278 $pkey = fread($fp, 8192);
280 // $key will be resource id for unpacked $pkey
281 $key = openssl_get_privatekey($pkey);
297 $pkey = fread($fp, 8192);
302 $key = openssl_get_privatekey($pkey);
/PHP-5.6/ext/openssl/tests/
H A Dbug66501.phpt9 $pkey = 'ASN1 OID: prime256v1
18 $key = openssl_pkey_get_private($pkey);
H A Dbug60632.phpt9 $pkey = openssl_pkey_new(array(
16 $details = openssl_pkey_get_details($pkey);
H A Dopenssl_spki_new_basic.phpt32 foreach ($pkeys as $pkey) {
36 var_dump(openssl_spki_new($pkey, _uuid(), $value));
H A Dopenssl_spki_export_basic.phpt33 foreach ($pkeys as $pkey) {
37 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dopenssl_spki_verify_basic.phpt32 foreach ($pkeys as $pkey) {
36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dopenssl_spki_export_challenge_basic.phpt35 foreach ($pkeys as $pkey) {
39 $spkac = openssl_spki_new($pkey, _uuid(), $value);
H A Dopenssl_error_string_basic.phpt84 // file for pkey (file:///) fails when opennig (BIO_new_file)
87 // file or private pkey is not correct PEM - failing PEM_read_bio_PrivateKey
/PHP-5.6/ext/phar/tests/
H A Dphar_setsignaturealgo2.phpt40 $pkey = '';
41 openssl_pkey_export($private, $pkey, NULL, $config_arg);
42 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
/PHP-5.6/ext/phar/tests/tar/
H A Dphar_setsignaturealgo2.phpt41 $pkey = '';
42 openssl_pkey_export($private, $pkey, NULL, $config_arg);
43 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);

Completed in 26 milliseconds