@@ -16,6 +16,7 @@ final class OpenSSLAsymmetricKey
16
16
17
17
function openssl_x509_export_to_file (OpenSSLCertificate |string $ x509 , string $ outfilename , bool $ notext = true ): bool {}
18
18
19
+ /** @param string $out */
19
20
function openssl_x509_export (OpenSSLCertificate |string $ x509 , &$ out , bool $ notext = true ): bool {}
20
21
21
22
function openssl_x509_fingerprint (OpenSSLCertificate |string $ x509 , string $ method = "sha1 " , bool $ raw_output = false ): string |false {}
@@ -38,7 +39,10 @@ function openssl_x509_free(OpenSSLCertificate $x509): void {}
38
39
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $priv_key */
39
40
function openssl_pkcs12_export_to_file (OpenSSLCertificate |string $ x509cert , string $ filename , $ priv_key , string $ pass , array $ args = []): bool {}
40
41
41
- /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $priv_key */
42
+ /**
43
+ * @param string $out
44
+ * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $priv_key
45
+ */
42
46
function openssl_pkcs12_export (OpenSSLCertificate |string $ x509 , &$ out , $ priv_key , string $ pass , array $ args = []): bool {}
43
47
44
48
/** @param array $certs */
@@ -115,9 +119,10 @@ function openssl_pkcs7_sign(string $infile, string $outfile, OpenSSLCertificate|
115
119
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string|null $recipkey */
116
120
function openssl_pkcs7_decrypt (string $ infilename , string $ outfilename , OpenSSLCertificate |string $ recipcert , $ recipkey = null ): bool {}
117
121
122
+ /** @param array $certs */
118
123
function openssl_pkcs7_read (string $ infilename , &$ certs ): bool {}
119
124
120
- function openssl_cms_verify (string $ filename , int $ flags = 0 , ?string $ signerscerts = null , ?array $ cainfo = null , ?string $ extracerts = null , ?string $ content = null , ?string $ pk7 = null , ?string $ sigfile = null , $ encoding = OPENSSL_ENCODING_SMIME ): bool {}
125
+ function openssl_cms_verify (string $ filename , int $ flags = 0 , ?string $ signerscerts = null , ?array $ cainfo = null , ?string $ extracerts = null , ?string $ content = null , ?string $ pk7 = null , ?string $ sigfile = null , int $ encoding = OPENSSL_ENCODING_SMIME ): bool {}
121
126
122
127
/** @param OpenSSLCertificate|array|string $recipcerts */
123
128
function openssl_cms_encrypt (string $ infile , string $ outfile , $ recipcerts , ?array $ headers , int $ flags = 0 , int $ encoding = OPENSSL_ENCODING_SMIME , int $ cipher = OPENSSL_CIPHER_RC2_40 ): bool {}
0 commit comments