@@ -19,7 +19,7 @@ function openssl_x509_export_to_file(OpenSSLCertificate|string $certificate, str
19
19
/** @param string $output */
20
20
function openssl_x509_export (OpenSSLCertificate |string $ certificate , &$ output , bool $ no_text = true ): bool {}
21
21
22
- function openssl_x509_fingerprint (OpenSSLCertificate |string $ certificate , string $ digest_algorithm = "sha1 " , bool $ raw_output = false ): string |false {}
22
+ function openssl_x509_fingerprint (OpenSSLCertificate |string $ certificate , string $ digest_algo = "sha1 " , bool $ raw_output = false ): string |false {}
23
23
24
24
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key */
25
25
function openssl_x509_check_private_key (OpenSSLCertificate |string $ certificate , $ private_key ): bool {}
@@ -103,12 +103,12 @@ function openssl_get_privatekey($private_key, ?string $passphrase = null): OpenS
103
103
104
104
function openssl_pkey_get_details (OpenSSLAsymmetricKey $ key ): array |false {}
105
105
106
- function openssl_pbkdf2 (string $ passphrase , string $ salt , int $ key_length , int $ iterations , string $ digest_algorithm = "sha1 " ): string |false {}
106
+ function openssl_pbkdf2 (string $ passphrase , string $ salt , int $ key_length , int $ iterations , string $ digest_algo = "sha1 " ): string |false {}
107
107
108
108
function 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 {}
109
109
110
110
/** @param OpenSSLCertificate|array|string $certificate */
111
- function openssl_pkcs7_encrypt (string $ input_filename , string $ output_filename , $ certificate , ?array $ headers , int $ flags = 0 , int $ cipher_algorithm = OPENSSL_CIPHER_RC2_40 ): bool {}
111
+ function openssl_pkcs7_encrypt (string $ input_filename , string $ output_filename , $ certificate , ?array $ headers , int $ flags = 0 , int $ cipher_algo = OPENSSL_CIPHER_RC2_40 ): bool {}
112
112
113
113
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key */
114
114
function openssl_pkcs7_sign (string $ input_filename , string $ output_filename , OpenSSLCertificate |string $ certificate , $ private_key , ?array $ headers , int $ flags = PKCS7_DETACHED , ?string $ untrusted_certificates_filename = null ): bool {}
@@ -125,7 +125,7 @@ function openssl_pkcs7_read(string $input_filename, &$certificates): bool {}
125
125
function 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 ): bool {}
126
126
127
127
/** @param OpenSSLCertificate|array|string $certificate */
128
- function openssl_cms_encrypt (string $ input_filename , string $ output_filename , $ certificate , ?array $ headers , int $ flags = 0 , int $ encoding = OPENSSL_ENCODING_SMIME , int $ cipher_algorithm = OPENSSL_CIPHER_RC2_40 ): bool {}
128
+ function 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_RC2_40 ): bool {}
129
129
130
130
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key */
131
131
function openssl_cms_sign (string $ input_filename , string $ output_filename , OpenSSLCertificate |string $ certificate , $ private_key , ?array $ headers , int $ flags = 0 , int $ encoding = OPENSSL_ENCODING_SMIME , ?string $ untrusted_certificates_filename = null ): bool {}
@@ -179,13 +179,13 @@ function openssl_verify(string $data, string $signature, $public_key, string|int
179
179
* @param array $encrypted_keys
180
180
* @param string $iv
181
181
*/
182
- function openssl_seal (string $ data , &$ sealed_data , &$ encrypted_keys , array $ public_key , string $ cipher_algorithm , &$ iv = null ): int |false {}
182
+ function openssl_seal (string $ data , &$ sealed_data , &$ encrypted_keys , array $ public_key , string $ cipher_algo , &$ iv = null ): int |false {}
183
183
184
184
/**
185
185
* @param string $output
186
186
* @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key
187
187
*/
188
- function openssl_open (string $ data , &$ output , string $ encrypted_key , $ private_key , string $ cipher_algorithm , ?string $ iv = null ): bool {}
188
+ function openssl_open (string $ data , &$ output , string $ encrypted_key , $ private_key , string $ cipher_algo , ?string $ iv = null ): bool {}
189
189
190
190
function openssl_get_md_methods (bool $ aliases = false ): array {}
191
191
@@ -195,14 +195,14 @@ function openssl_get_cipher_methods(bool $aliases = false): array {}
195
195
function openssl_get_curve_names (): array |false {}
196
196
#endif
197
197
198
- function openssl_digest (string $ data , string $ digest_algorithm , bool $ raw_output = false ): string |false {}
198
+ function openssl_digest (string $ data , string $ digest_algo , bool $ raw_output = false ): string |false {}
199
199
200
200
/** @param string $tag */
201
- function openssl_encrypt (string $ data , string $ cipher_algorithm , string $ passphrase , int $ options = 0 , string $ iv = "" , &$ tag = null , string $ aad = "" , int $ tag_length = 16 ): string |false {}
201
+ function openssl_encrypt (string $ data , string $ cipher_algo , string $ passphrase , int $ options = 0 , string $ iv = "" , &$ tag = null , string $ aad = "" , int $ tag_length = 16 ): string |false {}
202
202
203
- function openssl_decrypt (string $ data , string $ cipher_algorithm , string $ passphrase , int $ options = 0 , string $ iv = "" , string $ tag = "" , string $ aad = "" ): string |false {}
203
+ function openssl_decrypt (string $ data , string $ cipher_algo , string $ passphrase , int $ options = 0 , string $ iv = "" , string $ tag = "" , string $ aad = "" ): string |false {}
204
204
205
- function openssl_cipher_iv_length (string $ cipher_algorithm ): int |false {}
205
+ function openssl_cipher_iv_length (string $ cipher_algo ): int |false {}
206
206
207
207
function openssl_dh_compute_key (string $ public_key , OpenSSLAsymmetricKey $ private_key ): string |false {}
208
208
@@ -215,7 +215,7 @@ function openssl_pkey_derive($public_key, $private_key, int $key_length = 0): st
215
215
/** @param bool $strong_result */
216
216
function openssl_random_pseudo_bytes (int $ length , &$ strong_result = null ): string {}
217
217
218
- function openssl_spki_new (OpenSSLAsymmetricKey $ private_key , string $ challenge , int $ digest_algorithm = OPENSSL_ALGO_MD5 ): string |false {}
218
+ function openssl_spki_new (OpenSSLAsymmetricKey $ private_key , string $ challenge , int $ digest_algo = OPENSSL_ALGO_MD5 ): string |false {}
219
219
220
220
function openssl_spki_verify (string $ spki ): bool {}
221
221
0 commit comments