⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smime_write_pkcs7.pod

📁 开源的ssl算法openssl,版本0.9.8H
💻 POD
字号:
=pod=head1 NAMESMIME_write_PKCS7 - convert PKCS#7 structure to S/MIME format.=head1 SYNOPSISint SMIME_write_PKCS7(BIO *out, PKCS7 *p7, BIO *data, int flags);=head1 DESCRIPTIONSMIME_write_PKCS7() adds the appropriate MIME headers to a PKCS#7structure to produce an S/MIME message.B<out> is the BIO to write the data to. B<p7> is the appropriateB<PKCS7> structure. If cleartext signing (B<multipart/signed>) isbeing used then the signed data must be supplied in the B<data> argument. B<flags> is an optional set of flags.=head1 NOTESThe following flags can be passed in the B<flags> parameter.If B<PKCS7_DETACHED> is set then cleartext signing will be used,this option only makes sense for signedData where B<PKCS7_DETACHED>is also set when PKCS7_sign() is also called.If the B<PKCS7_TEXT> flag is set MIME headers for type B<text/plain>are added to the content, this only makes sense if B<PKCS7_DETACHED>is also set.If the B<PKCS7_PARTSIGN> flag is set the signed data is finalizedand output along with the content. This flag should only be setif B<PKCS7_DETACHED> is also set and the previous call to PKCS7_sign()also set these flags.If cleartext signing is being used and B<PKCS7_PARTSIGN> not set thenthe data must be read twice: once to compute the signature in PKCS7_sign()and once to output the S/MIME message.=head1 BUGSSMIME_write_PKCS7() always base64 encodes PKCS#7 structures, thereshould be an option to disable this.=head1 RETURN VALUESSMIME_write_PKCS7() returns 1 for success or 0 for failure.=head1 SEE ALSOL<ERR_get_error(3)|ERR_get_error(3)>, L<PKCS7_sign(3)|PKCS7_sign(3)>,L<PKCS7_verify(3)|PKCS7_verify(3)>, L<PKCS7_encrypt(3)|PKCS7_encrypt(3)>L<PKCS7_decrypt(3)|PKCS7_decrypt(3)>=head1 HISTORYSMIME_write_PKCS7() was added to OpenSSL 0.9.5=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -