Home
last modified time | relevance | path

Searched refs:openssl_cms_encrypt (Results 1 – 8 of 8) sorted by relevance

/PHP-8.4/ext/openssl/tests/
H A Dopenssl_cms_encrypt_basic.phpt2 openssl_cms_encrypt() tests
19 $assoc_headers = array("To" => "test@test", "Subject" => "testing openssl_cms_encrypt()");
20 $headers = array("test@test", "testing openssl_cms_encrypt()");
26 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers, cipher_algo: $cipher));
30 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $assoc_headers, cipher_algo: $cipher)…
32 var_dump(openssl_cms_encrypt($wrong, $outfile, $single_cert, $headers, cipher_algo: $cipher));
33 var_dump(openssl_cms_encrypt($empty, $outfile, $single_cert, $headers, cipher_algo: $cipher));
34 var_dump(openssl_cms_encrypt($infile, $empty, $single_cert, $headers, cipher_algo: $cipher));
35 var_dump(openssl_cms_encrypt($infile, $outfile, $wrong, $headers, cipher_algo: $cipher));
36 var_dump(openssl_cms_encrypt($infile, $outfile, $empty, $headers, cipher_algo: $cipher));
[all …]
H A Dopenssl_cms_encrypt_pem.phpt2 openssl_cms_encrypt() pem test
15 $headers = array("test@test", "testing openssl_cms_encrypt()");
18 var_dump(openssl_cms_encrypt($infile, $cryptfile, $single_cert, $headers, OPENSSL_CMS_BINARY, OPENS…
H A Dopenssl_cms_encrypt_der.phpt2 openssl_cms_encrypt() der test
15 $headers = array("test@test", "testing openssl_cms_encrypt()");
18 var_dump(openssl_cms_encrypt($infile, $cryptfile, $single_cert, $headers, OPENSSL_CMS_BINARY, OPENS…
H A Dopenssl_cms_decrypt_basic.phpt15 $headers = array("test@test", "testing openssl_cms_encrypt()");
20 openssl_cms_encrypt($infile, $encrypted, $single_cert, $headers, cipher_algo: $cipher);
H A Dbug81713.phpt26 $headers = ["test@test", "testing openssl_cms_encrypt()"];
81 ["openssl_cms_encrypt", $infile_null, $outfile, $crt_file, $headers],
82 ["openssl_cms_encrypt", $infile, $outfile_null, $crt_file, $headers],
83 ["openssl_cms_encrypt", $infile, $outfile, $crt_file_null, $headers],
84 ["openssl_cms_encrypt", $infile, $outfile, $cainfo_null, $headers],
183 openssl_cms_encrypt(): Argument #1 ($input_filename) must not contain any null bytes
184 openssl_cms_encrypt(): Argument #2 ($output_filename) must not contain any null bytes
185 openssl_cms_encrypt(): Argument #3 ($certificate) must not contain any null bytes
186 openssl_cms_encrypt(): Argument #3 ($certificate) array item must not contain any null bytes
/PHP-8.4/ext/openssl/
H A Dopenssl.stub.php560 function openssl_cms_encrypt(string $input_filename, string $output_filename, $certificate, ?array …
H A Dopenssl_arginfo.h437 ZEND_FUNCTION(openssl_cms_encrypt);
509 ZEND_FE(openssl_cms_encrypt, arginfo_openssl_cms_encrypt)
H A Dopenssl.c6350 PHP_FUNCTION(openssl_cms_encrypt) in PHP_FUNCTION() argument

Completed in 37 milliseconds