89#if PHP_OPENSSL_API_VERSION < 0x10100
117#ifndef OPENSSL_NO_RMD160
229#ifdef RSA_SSLV23_PADDING
258#ifndef OPENSSL_NO_RC2
276#ifndef OPENSSL_NO_DES
289#ifndef OPENSSL_NO_AES
314#ifndef OPENSSL_NO_DSA
327#ifdef HAVE_EVP_PKEY_EC
334#if PHP_OPENSSL_API_VERSION >= 0x30000
373#ifndef OPENSSL_NO_TLSEXT
446#[\
Deprecated(since:
'8.0', message:
'as OpenSSLCertificate objects are freed automatically')]
510#[\
Deprecated(since:
'8.0', message:
'as OpenSSLAsymmetricKey objects are freed automatically')]
516#[\
Deprecated(since:
'8.0', message:
'as OpenSSLAsymmetricKey objects are freed automatically')]
538function 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): bool|int {}
636#ifdef HAVE_EVP_PKEY_EC
if(PHP_SAPI !='cli') if($argc< 1) $options
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
#define OPENSSL_ALGO_RMD160
#define OPENSSL_ALGO_SHA256
#define OPENSSL_ALGO_DSS1
#define OPENSSL_ALGO_SHA384
#define OPENSSL_ALGO_SHA224
#define OPENSSL_ALGO_SHA1
#define OPENSSL_ALGO_SHA512
const X509_PURPOSE_SSL_SERVER
const OPENSSL_CIPHER_3DES
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)
const OPENSSL_CMS_NOVERIFY
openssl_dh_compute_key(string $public_key, #[\SensitiveParameter] OpenSSLAsymmetricKey $private_key)
const OPENSSL_ZERO_PADDING
openssl_free_key(OpenSSLAsymmetricKey $key)
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_ENCODING_PEM
const OPENSSL_ENCODING_SMIME
const OPENSSL_VERSION_NUMBER
const OPENSSL_ENCODING_DER
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_get_publickey($public_key)
openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text=true)
openssl_csr_get_public_key(OpenSSLCertificateSigningRequest|string $csr, bool $short_names=true)
const OPENSSL_CMS_NOCERTS
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
const OPENSSL_CMS_NOINTERN
openssl_spki_export_challenge(string $spki)
const OPENSSL_PKCS1_PADDING
const OPENSSL_CIPHER_RC2_128
openssl_verify(string $data, string $signature, $public_key, string|int $algorithm=OPENSSL_ALGO_SHA1)
const OPENSSL_PKCS1_OAEP_PADDING
openssl_cipher_key_length(string $cipher_algo)
const OPENSSL_CMS_OLDMIMETYPE
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)
const OPENSSL_CMS_DETACHED
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_get_privatekey(#[\SensitiveParameter] $private_key, #[\SensitiveParameter] ?string $passphrase=null)
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_TLSEXT_SERVER_NAME
const OPENSSL_KEYTYPE_ED25519
const OPENSSL_CIPHER_AES_128_CBC
openssl_pkey_new(?array $options=null)
openssl_pkey_get_private(#[\SensitiveParameter] $private_key, #[\SensitiveParameter] ?string $passphrase=null)
const OPENSSL_CIPHER_AES_256_CBC
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
const OPENSSL_CIPHER_RC2_40
const OPENSSL_CIPHER_RC2_64
openssl_pkey_export(#[\SensitiveParameter] $key, &$output, #[\SensitiveParameter] ?string $passphrase=null, ?array $options=null)
const X509_PURPOSE_SMIME_ENCRYPT
const PKCS7_NOOLDMIMETYPE
const OPENSSL_CIPHER_AES_192_CBC
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)
const OPENSSL_SSLV23_PADDING
openssl_pkcs7_read(string $data, &$certificates)
defined(string $constant_name)
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))