Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 57 additions & 51 deletions misc/builtin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3691,62 +3691,68 @@ let g:phpcomplete_builtin['functions']['openal'] = {
\ 'openal_stream(': 'resource $source, int $format, int $rate | resource',
\ }
let g:phpcomplete_builtin['functions']['openssl'] = {
\ 'openssl_cipher_iv_length(': 'string $method | int',
\ 'openssl_csr_export_to_file(': 'mixed $csr, string $outfilename [, bool $notext = TRUE] | bool',
\ 'openssl_csr_export(': 'mixed $csr, string &$out [, bool $notext = TRUE] | bool',
\ 'openssl_csr_get_public_key(': 'mixed $csr [, bool $use_shortnames = TRUE] | resource',
\ 'openssl_csr_get_subject(': 'mixed $csr [, bool $use_shortnames = TRUE] | array',
\ 'openssl_csr_new(': 'array $dn, resource &$privkey [, array $configargs [, array $extraattribs]] | mixed',
\ 'openssl_csr_sign(': 'mixed $csr, mixed $cacert, mixed $priv_key, int $days [, array $configargs [, int $serial = 0]] | resource',
\ 'openssl_decrypt(': 'string $data, string $method, string $key [, int $options = 0 [, string $iv = "" [, string $tag = "" [, string $aad = ""]]]] | string',
\ 'openssl_dh_compute_key(': 'string $pub_key, resource $dh_key | string',
\ 'openssl_digest(': 'string $data, string $method [, bool $raw_output = FALSE] | string',
\ 'openssl_encrypt(': 'string $data, string $method, string $key [, int $options = 0 [, string $iv = "" [, string &$tag = NULL [, string $aad = "" [, int $tag_length = 16]]]]] | string',
\ 'openssl_cipher_iv_length(': 'string $cipher_algo | int',
\ 'openssl_cipher_key_length(': 'string $cipher_algo | int',
\ 'openssl_cms_decrypt(': 'string $input_filename, string $output_filename, mixed $certificate [, mixed $private_key [, int $encoding = OPENSSL_ENCODING_SMIME]] | bool',
\ 'openssl_cms_encrypt(': 'string $input_filename, string $output_filename, mixed $certificate [, array $headers [, int $flags = 0 [, int $encoding = OPENSSL_ENCODING_SMIME [, int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC]]]] | bool',
\ 'openssl_cms_read(': 'string $input_filename, array &$certificates | bool',
\ 'openssl_cms_sign(': 'string $input_filename, string $output_filename, mixed $certificate, mixed $private_key [, array $headers [, int $flags = 0 [, int $encoding = OPENSSL_ENCODING_SMIME [, string $untrusted_certificates_filename]]]] | bool',
\ 'openssl_cms_verify(': 'string $input_filename [, string $certificates [, array $ca_info [, string $untrusted_certificates_filename [, string $content [, string $pk7 [, string $sigfile [, int $encoding = OPENSSL_ENCODING_SMIME]]]]]]] | bool',
\ 'openssl_csr_export_to_file(': 'mixed $csr, string $output_filename [, bool $no_text = true] | bool',
\ 'openssl_csr_export(': 'mixed $csr, string &$output [, bool $no_text = true] | bool',
\ 'openssl_csr_get_public_key(': 'mixed $csr [, bool $short_names = true] | OpenSSLAsymmetricKey',
\ 'openssl_csr_get_subject(': 'mixed $csr [, bool $short_names = true] | array',
\ 'openssl_csr_new(': 'array $distinguished_names, OpenSSLAsymmetricKey &$private_key [, array $options [, array $extra_attributes]] | OpenSSLCertificateSigningRequest',
\ 'openssl_csr_sign(': 'mixed $csr, mixed $ca_certificate, mixed $private_key, int $days [, array $options [, int $serial = 0]] | OpenSSLCertificate',
\ 'openssl_decrypt(': 'string $data, string $cipher_algo, string $passphrase [, int $options = 0 [, string $iv = "" [, string $tag [, string $aad = ""]]]] | string',
\ 'openssl_dh_compute_key(': 'string $public_key, OpenSSLAsymmetricKey $private_key | string',
\ 'openssl_digest(': 'string $data, string $digest_algo [, bool $binary = false] | string',
\ 'openssl_encrypt(': 'string $data, string $cipher_algo, string $passphrase [, int $options = 0 [, string $iv = "" [, string &$tag [, string $aad = "" [, int $tag_length = 16]]]]] | string',
\ 'openssl_error_string(': 'void | string',
\ 'openssl_free_key(': 'resource $key_identifier | void',
\ 'openssl_free_key(': 'OpenSSLAsymmetricKey $key | void',
\ 'openssl_get_cert_locations(': 'void | array',
\ 'openssl_get_cipher_methods(': '[ bool $aliases = FALSE] | array',
\ 'openssl_get_cipher_methods(': '[ bool $aliases = false] | array',
\ 'openssl_get_curve_names(': 'void | array',
\ 'openssl_get_md_methods(': '[ bool $aliases = FALSE] | array',
\ 'openssl_get_md_methods(': '[ bool $aliases = false] | array',
\ 'openssl_get_privatekey(': 'openssl_get_privatekey — Alias of openssl_pkey_get_private()',
\ 'openssl_get_publickey(': 'openssl_get_publickey — Alias of openssl_pkey_get_public()',
\ 'openssl_open(': 'string $sealed_data, string &$open_data, string $env_key, mixed $priv_key_id [, string $method = "RC4" [, string $iv]] | bool',
\ 'openssl_pbkdf2(': 'string $password, string $salt, int $key_length, int $iterations [, string $digest_algorithm = "sha1"] | string',
\ 'openssl_pkcs12_export_to_file(': 'mixed $x509, string $filename, mixed $priv_key, string $pass [, array $args] | bool',
\ 'openssl_pkcs12_export(': 'mixed $x509, string &$out, mixed $priv_key, string $pass [, array $args] | bool',
\ 'openssl_pkcs12_read(': 'string $pkcs12, array &$certs, string $pass | bool',
\ 'openssl_pkcs7_decrypt(': 'string $infilename, string $outfilename, mixed $recipcert [, mixed $recipkey] | bool',
\ 'openssl_pkcs7_encrypt(': 'string $infile, string $outfile, mixed $recipcerts, array $headers [, int $flags = 0 [, int $cipherid = OPENSSL_CIPHER_RC2_40]] | bool',
\ 'openssl_pkcs7_read(': 'string $infilename, array &$certs | bool',
\ 'openssl_pkcs7_sign(': 'string $infilename, string $outfilename, mixed $signcert, mixed $privkey, array $headers [, int $flags = PKCS7_DETACHED [, string $extracerts]] | bool',
\ 'openssl_pkcs7_verify(': 'string $filename, int $flags [, string $outfilename [, array $cainfo [, string $extracerts [, string $content [, string $p7bfilename]]]]] | mixed',
\ 'openssl_pkey_export_to_file(': 'mixed $key, string $outfilename [, string $passphrase [, array $configargs]] | bool',
\ 'openssl_pkey_export(': 'mixed $key, string &$out [, string $passphrase [, array $configargs]] | bool',
\ 'openssl_pkey_free(': 'resource $key | void',
\ 'openssl_pkey_get_details(': 'resource $key | array',
\ 'openssl_pkey_get_private(': 'mixed $key [, string $passphrase = ""] | resource',
\ 'openssl_pkey_get_public(': 'mixed $certificate | resource',
\ 'openssl_pkey_new(': '[ array $configargs] | resource',
\ 'openssl_private_decrypt(': 'string $data, string &$decrypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_private_encrypt(': 'string $data, string &$crypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_decrypt(': 'string $data, string &$decrypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_encrypt(': 'string $data, string &$crypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_random_pseudo_bytes(': 'int $length [, bool &$crypto_strong] | string',
\ 'openssl_seal(': 'string $data, string &$sealed_data, array &$env_keys, array $pub_key_ids [, string $method = "RC4" [, string &$iv]] | int',
\ 'openssl_sign(': 'string $data, string &$signature, mixed $priv_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1] | bool',
\ 'openssl_spki_export_challenge(': 'string &$spkac | string',
\ 'openssl_spki_export(': 'string &$spkac | string',
\ 'openssl_spki_new(': 'resource &$privkey, string &$challenge [, int $algorithm = 0] | string',
\ 'openssl_spki_verify(': 'string &$spkac | string',
\ 'openssl_verify(': 'string $data, string $signature, mixed $pub_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1] | int',
\ 'openssl_x509_check_private_key(': 'mixed $cert, mixed $key | bool',
\ 'openssl_x509_checkpurpose(': 'mixed $x509cert, int $purpose [, array $cainfo = array() [, string $untrustedfile]] | int',
\ 'openssl_x509_export_to_file(': 'mixed $x509, string $outfilename [, bool $notext = TRUE] | bool',
\ 'openssl_x509_export(': 'mixed $x509, string &$output [, bool $notext = TRUE] | bool',
\ 'openssl_x509_fingerprint(': 'mixed $x509 [, string $hash_algorithm = "sha1" [, bool $raw_output = FALSE]] | string',
\ 'openssl_x509_free(': 'resource $x509cert | void',
\ 'openssl_x509_parse(': 'mixed $x509cert [, bool $shortnames = TRUE] | array',
\ 'openssl_x509_read(': 'mixed $x509certdata | resource',
\ 'openssl_open(': 'string $data, string &$output, string $encrypted_key, mixed $private_key, string $cipher_algo [, string $iv] | bool',
\ 'openssl_pbkdf2(': 'string $password, string $salt, int $key_length, int $iterations [, string $digest_algo = "sha1"] | string',
\ 'openssl_pkcs12_export_to_file(': 'mixed $certificate, string $output_filename, mixed $private_key, string $passphrase [, array $options] | bool',
\ 'openssl_pkcs12_export(': 'mixed $certificate, string &$output, mixed $private_key, string $passphrase [, array $options] | bool',
\ 'openssl_pkcs12_read(': 'string $pkcs12, array &$certificates, string $passphrase | bool',
\ 'openssl_pkcs7_decrypt(': 'string $input_filename, string $output_filename, mixed $certificate [, mixed $private_key] | bool',
\ 'openssl_pkcs7_encrypt(': 'string $input_filename, string $output_filename, mixed $certificate, array $headers [, int $flags = 0 [, int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC]] | bool',
\ 'openssl_pkcs7_read(': 'string $data, array &$certificates | bool',
\ 'openssl_pkcs7_sign(': 'string $input_filename, string $output_filename, mixed $certificate, mixed $private_key, array $headers [, int $flags = PKCS7_DETACHED [, string $untrusted_certificates_filename]] | bool',
\ 'openssl_pkcs7_verify(': 'string $input_filename, int $flags [, string $signers_certificates_filename [, array $ca_info [, string $untrusted_certificates_filename [, string $content [, string $output_filename]]]]] | bool',
\ 'openssl_pkey_export_to_file(': 'mixed $key, string $output_filename [, string $passphrase [, array $options]] | bool',
\ 'openssl_pkey_export(': 'mixed $key, string &$output [, string $passphrase [, array $options]] | bool',
\ 'openssl_pkey_free(': 'OpenSSLAsymmetricKey $key | void',
\ 'openssl_pkey_get_details(': 'OpenSSLAsymmetricKey $key | array',
\ 'openssl_pkey_get_private(': 'mixed $private_key [, string $passphrase] | OpenSSLAsymmetricKey',
\ 'openssl_pkey_get_public(': 'mixed $public_key | OpenSSLAsymmetricKey',
\ 'openssl_pkey_new(': '[ array $options] | OpenSSLAsymmetricKey',
\ 'openssl_private_decrypt(': 'string $data, string &$decrypted_data, mixed $private_key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_private_encrypt(': 'string $data, string &$encrypted_data, mixed $private_key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_decrypt(': 'string $data, string &$decrypted_data, mixed $public_key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_encrypt(': 'string $data, string &$encrypted_data, mixed $public_key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_random_pseudo_bytes(': 'int $length [, bool &$strong_result] | string',
\ 'openssl_seal(': 'string $data, string &$sealed_data, array &$encrypted_keys, array $public_key, string $cipher_algo [, string &$iv] | int',
\ 'openssl_sign(': 'string $data, string &$signature, mixed $private_key [, mixed $algorithm = OPENSSL_ALGO_SHA1] | bool',
\ 'openssl_spki_export_challenge(': 'string $spki | string',
\ 'openssl_spki_export(': 'string $spki | string',
\ 'openssl_spki_new(': 'OpenSSLAsymmetricKey $private_key, string $challenge [, int $digest_algo = OPENSSL_ALGO_MD5] | string',
\ 'openssl_spki_verify(': 'string $spki | bool',
\ 'openssl_verify(': 'string $data, string $signature, mixed $public_key [, mixed $algorithm = OPENSSL_ALGO_SHA1] | int',
\ 'openssl_x509_check_private_key(': 'mixed $certificate, mixed $private_key | bool',
\ 'openssl_x509_checkpurpose(': 'mixed $certificate, int $purpose [, array $ca_info [, string $untrusted_certificates_file]] | bool',
\ 'openssl_x509_export_to_file(': 'mixed $certificate, string $output_filename [, bool $no_text = true] | bool',
\ 'openssl_x509_export(': 'mixed $certificate, string &$output [, bool $no_text = true] | bool',
\ 'openssl_x509_fingerprint(': 'mixed $certificate [, string $digest_algo = "sha1" [, bool $binary = false]] | string',
\ 'openssl_x509_free(': 'OpenSSLCertificate $certificate | void',
\ 'openssl_x509_parse(': 'mixed $certificate [, bool $short_names = true] | array',
\ 'openssl_x509_read(': 'mixed $certificate | OpenSSLCertificate',
\ }
let g:phpcomplete_builtin['functions']['parsekit'] = {
\ 'parsekit_compile_file(': 'string $filename [, array &$errors [, int $options = PARSEKIT_QUIET]] | array',
Expand Down