Home
last modified time | relevance | path

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

/php-src/ext/openssl/tests/
H A Dopenssl_public_encrypt_basic.phpt2 openssl_public_encrypt() tests
7 $data = "Testing openssl_public_encrypt()";
19 var_dump(openssl_public_encrypt($data, $encrypted, $pubkey));
20 var_dump(openssl_public_encrypt($data, $encrypted, $privkey));
21 var_dump(openssl_public_encrypt($data, $encrypted, $wrong));
22 var_dump(openssl_public_encrypt($data, $encrypted, $obj));
23 var_dump(openssl_public_encrypt($obj, $encrypted, $pubkey));
30 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d
33 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d
36 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d
H A Dbug71917.phpt14 openssl_public_encrypt($envkey, $envelope, $publicKey);
H A Dopenssl_private_decrypt_basic.phpt12 openssl_public_encrypt($data, $encrypted, $pubkey, OPENSSL_PKCS1_OAEP_PADDING);
H A Dopenssl_error_string_basic_openssl3.phpt124 @openssl_public_encrypt("data", $crypted, $public_key_file, 1000);
H A Dopenssl_error_string_basic.phpt123 @openssl_public_encrypt("data", $crypted, $public_key_file, 1000);
H A Dbug81713.phpt60 ["openssl_public_encrypt", "test", &$out, $priv_key_file_null],
154 openssl_public_encrypt(): Argument #3 ($public_key) must not contain any null bytes
/php-src/ext/openssl/
H A Dopenssl.stub.php592 function openssl_public_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, $public_key,…
H A Dopenssl_arginfo.h443 ZEND_FUNCTION(openssl_public_encrypt);
515 ZEND_FE(openssl_public_encrypt, arginfo_openssl_public_encrypt)
H A Dopenssl.c7003 PHP_FUNCTION(openssl_public_encrypt) in PHP_FUNCTION() argument

Completed in 42 milliseconds