135#define arginfo_openssl_get_publickey arginfo_openssl_pkey_get_public
141#define arginfo_openssl_free_key arginfo_openssl_pkey_free
148#define arginfo_openssl_get_privatekey arginfo_openssl_pkey_get_private
316#define arginfo_openssl_get_cipher_methods arginfo_openssl_get_md_methods
318#if defined(HAVE_EVP_PKEY_EC)
354#define arginfo_openssl_cipher_key_length arginfo_openssl_cipher_iv_length
386#define arginfo_openssl_spki_export_challenge arginfo_openssl_spki_export
391#if defined(HAVE_OPENSSL_ARGON2)
452#if defined(HAVE_EVP_PKEY_EC)
468#if defined(HAVE_OPENSSL_ARGON2)
524#if defined(HAVE_EVP_PKEY_EC)
540#if defined(HAVE_OPENSSL_ARGON2)
547static void register_openssl_symbols(
int module_number)
562#if !defined(OPENSSL_NO_MD4)
565#if !defined(OPENSSL_NO_MD2)
568#if PHP_OPENSSL_API_VERSION < 0x10100
575#if !defined(OPENSSL_NO_RMD160)
598#if defined(RSA_SSLV23_PADDING)
604#if !defined(OPENSSL_NO_RC2)
607#if !defined(OPENSSL_NO_RC2)
610#if !defined(OPENSSL_NO_RC2)
613#if !defined(OPENSSL_NO_DES)
616#if !defined(OPENSSL_NO_DES)
619#if !defined(OPENSSL_NO_AES)
622#if !defined(OPENSSL_NO_AES)
625#if !defined(OPENSSL_NO_AES)
629#if !defined(OPENSSL_NO_DSA)
633#if defined(HAVE_EVP_PKEY_EC)
636#if PHP_OPENSSL_API_VERSION >= 0x30000
639#if PHP_OPENSSL_API_VERSION >= 0x30000
642#if PHP_OPENSSL_API_VERSION >= 0x30000
645#if PHP_OPENSSL_API_VERSION >= 0x30000
651#if !defined(OPENSSL_NO_TLSEXT)
659 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_x509_check_private_key",
sizeof(
"openssl_x509_check_private_key") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
661 zend_attribute *attribute_Deprecated_func_openssl_x509_free_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_x509_free",
sizeof(
"openssl_x509_free") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
662 zval attribute_Deprecated_func_openssl_x509_free_0_arg0;
663 zend_string *attribute_Deprecated_func_openssl_x509_free_0_arg0_str = zend_string_init(
"8.0",
strlen(
"8.0"), 1);
664 ZVAL_STR(&attribute_Deprecated_func_openssl_x509_free_0_arg0, attribute_Deprecated_func_openssl_x509_free_0_arg0_str);
665 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_x509_free_0->
args[0].
value, &attribute_Deprecated_func_openssl_x509_free_0_arg0);
666 attribute_Deprecated_func_openssl_x509_free_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
667 zval attribute_Deprecated_func_openssl_x509_free_0_arg1;
668 zend_string *attribute_Deprecated_func_openssl_x509_free_0_arg1_str = zend_string_init(
"as OpenSSLCertificate objects are freed automatically",
strlen(
"as OpenSSLCertificate objects are freed automatically"), 1);
669 ZVAL_STR(&attribute_Deprecated_func_openssl_x509_free_0_arg1, attribute_Deprecated_func_openssl_x509_free_0_arg1_str);
670 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_x509_free_0->
args[1].
value, &attribute_Deprecated_func_openssl_x509_free_0_arg1);
671 attribute_Deprecated_func_openssl_x509_free_0->
args[1].
name =
ZSTR_KNOWN(ZEND_STR_MESSAGE);
673 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs12_export_to_file",
sizeof(
"openssl_pkcs12_export_to_file") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
675 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs12_export_to_file",
sizeof(
"openssl_pkcs12_export_to_file") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
677 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs12_export",
sizeof(
"openssl_pkcs12_export") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
679 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs12_export",
sizeof(
"openssl_pkcs12_export") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
681 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs12_read",
sizeof(
"openssl_pkcs12_read") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
683 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_csr_sign",
sizeof(
"openssl_csr_sign") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
685 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_csr_new",
sizeof(
"openssl_csr_new") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
687 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_export_to_file",
sizeof(
"openssl_pkey_export_to_file") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
689 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_export_to_file",
sizeof(
"openssl_pkey_export_to_file") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
691 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_export",
sizeof(
"openssl_pkey_export") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
693 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_export",
sizeof(
"openssl_pkey_export") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
695 zend_attribute *attribute_Deprecated_func_openssl_pkey_free_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_free",
sizeof(
"openssl_pkey_free") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
696 zval attribute_Deprecated_func_openssl_pkey_free_0_arg0;
697 zend_string *attribute_Deprecated_func_openssl_pkey_free_0_arg0_str = zend_string_init(
"8.0",
strlen(
"8.0"), 1);
698 ZVAL_STR(&attribute_Deprecated_func_openssl_pkey_free_0_arg0, attribute_Deprecated_func_openssl_pkey_free_0_arg0_str);
699 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_pkey_free_0->
args[0].
value, &attribute_Deprecated_func_openssl_pkey_free_0_arg0);
700 attribute_Deprecated_func_openssl_pkey_free_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
701 zval attribute_Deprecated_func_openssl_pkey_free_0_arg1;
702 zend_string *attribute_Deprecated_func_openssl_pkey_free_0_arg1_str = zend_string_init(
"as OpenSSLAsymmetricKey objects are freed automatically",
strlen(
"as OpenSSLAsymmetricKey objects are freed automatically"), 1);
703 ZVAL_STR(&attribute_Deprecated_func_openssl_pkey_free_0_arg1, attribute_Deprecated_func_openssl_pkey_free_0_arg1_str);
704 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_pkey_free_0->
args[1].
value, &attribute_Deprecated_func_openssl_pkey_free_0_arg1);
705 attribute_Deprecated_func_openssl_pkey_free_0->
args[1].
name =
ZSTR_KNOWN(ZEND_STR_MESSAGE);
707 zend_attribute *attribute_Deprecated_func_openssl_free_key_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_free_key",
sizeof(
"openssl_free_key") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
708 zval attribute_Deprecated_func_openssl_free_key_0_arg0;
709 zend_string *attribute_Deprecated_func_openssl_free_key_0_arg0_str = zend_string_init(
"8.0",
strlen(
"8.0"), 1);
710 ZVAL_STR(&attribute_Deprecated_func_openssl_free_key_0_arg0, attribute_Deprecated_func_openssl_free_key_0_arg0_str);
711 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_free_key_0->
args[0].
value, &attribute_Deprecated_func_openssl_free_key_0_arg0);
712 attribute_Deprecated_func_openssl_free_key_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
713 zval attribute_Deprecated_func_openssl_free_key_0_arg1;
714 zend_string *attribute_Deprecated_func_openssl_free_key_0_arg1_str = zend_string_init(
"as OpenSSLAsymmetricKey objects are freed automatically",
strlen(
"as OpenSSLAsymmetricKey objects are freed automatically"), 1);
715 ZVAL_STR(&attribute_Deprecated_func_openssl_free_key_0_arg1, attribute_Deprecated_func_openssl_free_key_0_arg1_str);
716 ZVAL_COPY_VALUE(&attribute_Deprecated_func_openssl_free_key_0->
args[1].
value, &attribute_Deprecated_func_openssl_free_key_0_arg1);
717 attribute_Deprecated_func_openssl_free_key_0->
args[1].
name =
ZSTR_KNOWN(ZEND_STR_MESSAGE);
719 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_get_private",
sizeof(
"openssl_pkey_get_private") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
721 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_get_private",
sizeof(
"openssl_pkey_get_private") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
723 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_get_privatekey",
sizeof(
"openssl_get_privatekey") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
725 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_get_privatekey",
sizeof(
"openssl_get_privatekey") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
727 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pbkdf2",
sizeof(
"openssl_pbkdf2") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
729 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs7_sign",
sizeof(
"openssl_pkcs7_sign") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
731 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs7_decrypt",
sizeof(
"openssl_pkcs7_decrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
733 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkcs7_decrypt",
sizeof(
"openssl_pkcs7_decrypt") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
735 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_cms_sign",
sizeof(
"openssl_cms_sign") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
737 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_cms_decrypt",
sizeof(
"openssl_cms_decrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
739 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_cms_decrypt",
sizeof(
"openssl_cms_decrypt") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
741 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_private_encrypt",
sizeof(
"openssl_private_encrypt") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
743 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_private_encrypt",
sizeof(
"openssl_private_encrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
745 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_private_decrypt",
sizeof(
"openssl_private_decrypt") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
747 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_private_decrypt",
sizeof(
"openssl_private_decrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
749 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_public_encrypt",
sizeof(
"openssl_public_encrypt") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
751 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_public_decrypt",
sizeof(
"openssl_public_decrypt") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
753 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_sign",
sizeof(
"openssl_sign") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
755 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_seal",
sizeof(
"openssl_seal") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
757 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_open",
sizeof(
"openssl_open") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
759 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_open",
sizeof(
"openssl_open") - 1), 3,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
761 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_encrypt",
sizeof(
"openssl_encrypt") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
763 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_encrypt",
sizeof(
"openssl_encrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
765 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_decrypt",
sizeof(
"openssl_decrypt") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
767 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_dh_compute_key",
sizeof(
"openssl_dh_compute_key") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
769 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_pkey_derive",
sizeof(
"openssl_pkey_derive") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
771 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_spki_new",
sizeof(
"openssl_spki_new") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
772#if defined(HAVE_OPENSSL_ARGON2)
774 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_password_hash",
sizeof(
"openssl_password_hash") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
776 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"openssl_password_verify",
sizeof(
"openssl_password_verify") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
790static zend_class_entry *register_class_OpenSSLCertificateSigningRequest(
void)
hash(string $algo, string $data, bool $binary=false, array $options=[])
#define OPENSSL_ALGO_RMD160
#define OPENSSL_ALGO_SHA256
#define OPENSSL_ALGO_DSS1
#define OPENSSL_ALGO_SHA384
@ PHP_OPENSSL_CIPHER_RC2_40
@ PHP_OPENSSL_CIPHER_AES_128_CBC
@ PHP_OPENSSL_CIPHER_AES_192_CBC
@ PHP_OPENSSL_CIPHER_AES_256_CBC
@ PHP_OPENSSL_CIPHER_RC2_128
@ PHP_OPENSSL_CIPHER_3DES
@ PHP_OPENSSL_CIPHER_RC2_64
#define OPENSSL_ALGO_SHA224
#define OPENSSL_ALGO_SHA1
#define OPENSSL_ALGO_SHA512
const X509_PURPOSE_SSL_SERVER
const OPENSSL_DONT_ZERO_PAD_KEY
openssl_sign(string $data, &$signature, #[\SensitiveParameter] $private_key, string|int $algorithm=OPENSSL_ALGO_SHA1)
openssl_pkey_free(OpenSSLAsymmetricKey $key)
openssl_x509_export(OpenSSLCertificate|string $certificate, &$output, bool $no_text=true)
openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_filename, bool $no_text=true)
const X509_PURPOSE_OCSP_HELPER
openssl_pkcs12_read(string $pkcs12, &$certificates, #[\SensitiveParameter] string $passphrase)
openssl_dh_compute_key(string $public_key, #[\SensitiveParameter] OpenSSLAsymmetricKey $private_key)
const OPENSSL_ZERO_PADDING
const OPENSSL_DEFAULT_STREAM_CIPHERS
openssl_x509_check_private_key(OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key)
openssl_x509_free(OpenSSLCertificate $certificate)
openssl_get_curve_names()
openssl_seal(#[\SensitiveParameter] string $data, &$sealed_data, &$encrypted_keys, array $public_key, string $cipher_algo, &$iv=null)
openssl_pkcs7_decrypt(string $input_filename, string $output_filename, #[\SensitiveParameter] $certificate, #[\SensitiveParameter] $private_key=null)
openssl_x509_parse(OpenSSLCertificate|string $certificate, bool $short_names=true)
openssl_pkey_derive($public_key, #[\SensitiveParameter] $private_key, int $key_length=0)
openssl_spki_new(#[\SensitiveParameter] OpenSSLAsymmetricKey $private_key, string $challenge, int $digest_algo=OPENSSL_ALGO_MD5)
openssl_pkcs12_export_to_file(OpenSSLCertificate|string $certificate, string $output_filename, #[\SensitiveParameter] $private_key, #[\SensitiveParameter] string $passphrase, array $options=[])
openssl_pkey_get_details(OpenSSLAsymmetricKey $key)
openssl_cms_read(string $input_filename, &$certificates)
const OPENSSL_VERSION_NUMBER
openssl_pkey_export_to_file(#[\SensitiveParameter] $key, string $output_filename, #[\SensitiveParameter] ?string $passphrase=null, ?array $options=null)
openssl_pkcs12_export(OpenSSLCertificate|string $certificate, &$output, #[\SensitiveParameter] $private_key, #[\SensitiveParameter] string $passphrase, array $options=[])
const X509_PURPOSE_NS_SSL_SERVER
openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text=true)
openssl_csr_get_public_key(OpenSSLCertificateSigningRequest|string $csr, bool $short_names=true)
openssl_spki_export(string $spki)
openssl_digest(string $data, string $digest_algo, bool $binary=false)
openssl_x509_verify(OpenSSLCertificate|string $certificate, $public_key)
openssl_pkcs7_encrypt(string $input_filename, string $output_filename, $certificate, ?array $headers, int $flags=0, int $cipher_algo=OPENSSL_CIPHER_AES_128_CBC)
openssl_get_cert_locations()
openssl_x509_checkpurpose(OpenSSLCertificate|string $certificate, int $purpose, array $ca_info=[], ?string $untrusted_certificates_file=null)
openssl_pkey_get_public($public_key)
openssl_cms_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key, ?array $headers, int $flags=0, int $encoding=OPENSSL_ENCODING_SMIME, ?string $untrusted_certificates_filename=null)
openssl_password_verify(string $algo, #[\SensitiveParameter] string $password, string $hash)
openssl_get_md_methods(bool $aliases=false)
openssl_private_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, #[\SensitiveParameter] $private_key, int $padding=OPENSSL_PKCS1_PADDING)
const X509_PURPOSE_TIMESTAMP_SIGN
const OPENSSL_VERSION_TEXT
openssl_x509_fingerprint(OpenSSLCertificate|string $certificate, string $digest_algo="sha1", bool $binary=false)
openssl_spki_verify(string $spki)
openssl_csr_get_subject(OpenSSLCertificateSigningRequest|string $csr, bool $short_names=true)
openssl_password_hash(string $algo, #[\SensitiveParameter] string $password, array $options=[])
openssl_random_pseudo_bytes(int $length, &$strong_result=null)
openssl_public_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, $public_key, int $padding=OPENSSL_PKCS1_PADDING)
openssl_pbkdf2(#[\SensitiveParameter] string $password, string $salt, int $key_length, int $iterations, string $digest_algo="sha1")
const OPENSSL_KEYTYPE_X448
openssl_spki_export_challenge(string $spki)
openssl_verify(string $data, string $signature, $public_key, string|int $algorithm=OPENSSL_ALGO_SHA1)
openssl_cipher_key_length(string $cipher_algo)
openssl_private_decrypt(string $data, #[\SensitiveParameter] &$decrypted_data, #[\SensitiveParameter] $private_key, int $padding=OPENSSL_PKCS1_PADDING)
openssl_encrypt(#[\SensitiveParameter] string $data, string $cipher_algo, #[\SensitiveParameter] string $passphrase, int $options=0, string $iv="", &$tag=null, string $aad="", int $tag_length=16)
openssl_decrypt(string $data, string $cipher_algo, #[\SensitiveParameter] string $passphrase, int $options=0, string $iv="", ?string $tag=null, string $aad="")
const OPENSSL_KEYTYPE_ED448
openssl_open(string $data, #[\SensitiveParameter] &$output, string $encrypted_key, #[\SensitiveParameter] $private_key, string $cipher_algo, ?string $iv=null)
openssl_csr_sign(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|null $ca_certificate, #[\SensitiveParameter] $private_key, int $days, ?array $options=null, int $serial=0, ?string $serial_hex=null)
openssl_cms_decrypt(string $input_filename, string $output_filename, #[\SensitiveParameter] $certificate, #[\SensitiveParameter] $private_key=null, int $encoding=OPENSSL_ENCODING_SMIME)
openssl_cms_verify(string $input_filename, int $flags=0, ?string $certificates=null, array $ca_info=[], ?string $untrusted_certificates_filename=null, ?string $content=null, ?string $pk7=null, ?string $sigfile=null, int $encoding=OPENSSL_ENCODING_SMIME)
openssl_public_decrypt(string $data, #[\SensitiveParameter] &$decrypted_data, $public_key, int $padding=OPENSSL_PKCS1_PADDING)
openssl_cipher_iv_length(string $cipher_algo)
const OPENSSL_KEYTYPE_ED25519
openssl_pkey_new(?array $options=null)
openssl_pkey_get_private(#[\SensitiveParameter] $private_key, #[\SensitiveParameter] ?string $passphrase=null)
const X509_PURPOSE_SSL_CLIENT
openssl_get_cipher_methods(bool $aliases=false)
openssl_x509_export_to_file(OpenSSLCertificate|string $certificate, string $output_filename, bool $no_text=true)
const OPENSSL_KEYTYPE_X25519
openssl_pkey_export(#[\SensitiveParameter] $key, &$output, #[\SensitiveParameter] ?string $passphrase=null, ?array $options=null)
const X509_PURPOSE_SMIME_ENCRYPT
const PKCS7_NOOLDMIMETYPE
openssl_x509_read(OpenSSLCertificate|string $certificate)
openssl_csr_new(array $distinguished_names, #[\SensitiveParameter] &$private_key, ?array $options=null, ?array $extra_attributes=null)
const X509_PURPOSE_SMIME_SIGN
const X509_PURPOSE_CRL_SIGN
openssl_cms_encrypt(string $input_filename, string $output_filename, $certificate, ?array $headers, int $flags=0, int $encoding=OPENSSL_ENCODING_SMIME, int $cipher_algo=OPENSSL_CIPHER_AES_128_CBC)
openssl_pkcs7_verify(string $input_filename, int $flags, ?string $signers_certificates_filename=null, array $ca_info=[], ?string $untrusted_certificates_filename=null, ?string $content=null, ?string $output_filename=null)
openssl_pkcs7_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key, ?array $headers, int $flags=PKCS7_DETACHED, ?string $untrusted_certificates_filename=null)
openssl_pkcs7_read(string $data, &$certificates)
#define arginfo_openssl_free_key
#define arginfo_openssl_get_publickey
#define arginfo_openssl_spki_export_challenge
#define arginfo_openssl_cipher_key_length
#define arginfo_openssl_get_privatekey
#define arginfo_openssl_get_cipher_methods
PHP_JSON_API size_t int options
unsigned char key[REFLECTION_KEY_LEN]
xmlCharEncodingHandlerPtr encoding
zend_attribute_arg args[1]
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
struct _zend_function_entry zend_function_entry
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_FE(name, arg_info)
#define ZEND_FUNCTION(name)
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
struct _zend_attribute zend_attribute
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_DEPRECATED
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define ZVAL_COPY_VALUE(z, v)