@@ -30,8 +30,8 @@ function openssl_cipher_iv_length(string $cipher_algo): int
30
30
* @param string $output_filename The name of the file to deposit the decrypted content.
31
31
* @param $certificate The name of the file containing a certificate of the recipient.
32
32
* @param $private_key The name of the file containing a PKCS#8 key.
33
- * @param int $encoding The encoding of the input file. One of OPENSSL_CMS_SMIME ,
34
- * OPENSLL_CMS_DER or OPENSSL_CMS_PEM .
33
+ * @param int $encoding The encoding of the input file. One of OPENSSL_ENCODING_SMIME ,
34
+ * OPENSSL_ENCODING_DER or OPENSSL_ENCODING_PEM .
35
35
* @throws OpensslException
36
36
*
37
37
*/
@@ -60,8 +60,8 @@ function openssl_cms_decrypt(string $input_filename, string $output_filename, $c
60
60
* @param $certificate Recipients to encrypt to.
61
61
* @param $headers Headers to include when S/MIME is used.
62
62
* @param int $flags Flags to be passed to CMS_sign.
63
- * @param int $encoding An encoding to output. One of OPENSSL_CMS_SMIME ,
64
- * OPENSLL_CMS_DER or OPENSSL_CMS_PEM .
63
+ * @param int $encoding An encoding to output. One of OPENSSL_ENCODING_SMIME ,
64
+ * OPENSSL_ENCODING_DER or OPENSSL_ENCODING_PEM .
65
65
* @param int $cipher_algo A cypher to use.
66
66
* @throws OpensslException
67
67
*
@@ -105,8 +105,8 @@ function openssl_cms_read(string $input_filename, array &$certificates): void
105
105
* See Key/Certificate parameters for a list of valid values.
106
106
* @param $headers An array of headers to be included in S/MIME output.
107
107
* @param int $flags Flags to be passed to cms_sign.
108
- * @param int $encoding The encoding of the output file. One of OPENSSL_CMS_SMIME ,
109
- * OPENSLL_CMS_DER or OPENSSL_CMS_PEM .
108
+ * @param int $encoding The encoding of the output file. One of OPENSSL_ENCODING_SMIME ,
109
+ * OPENSSL_ENCODING_DER or OPENSSL_ENCODING_PEM .
110
110
* @param $untrusted_certificates_filename Intermediate certificates to be included in the signature.
111
111
* @throws OpensslException
112
112
*
@@ -136,8 +136,8 @@ function openssl_cms_sign(string $input_filename, string $output_filename, $cert
136
136
* @param $content A file pointing to the content when signatures are detached.
137
137
* @param $pk7
138
138
* @param $sigfile A file to save the signature to.
139
- * @param int $encoding The encoding of the input file. One of OPENSSL_CMS_SMIME ,
140
- * OPENSLL_CMS_DER or OPENSSL_CMS_PEM .
139
+ * @param int $encoding The encoding of the input file. One of OPENSSL_ENCODING_SMIME ,
140
+ * OPENSSL_ENCODING_DER or OPENSSL_ENCODING_PEM .
141
141
* @throws OpensslException
142
142
*
143
143
*/
0 commit comments