summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/SMIME_write_PKCS7.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/SMIME_write_PKCS7.3')
-rw-r--r--secure/lib/libcrypto/man/SMIME_write_PKCS7.318
1 files changed, 10 insertions, 8 deletions
diff --git a/secure/lib/libcrypto/man/SMIME_write_PKCS7.3 b/secure/lib/libcrypto/man/SMIME_write_PKCS7.3
index 6e29d7a..a6b620f 100644
--- a/secure/lib/libcrypto/man/SMIME_write_PKCS7.3
+++ b/secure/lib/libcrypto/man/SMIME_write_PKCS7.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "SMIME_write_PKCS7 3"
-.TH SMIME_write_PKCS7 3 "2005-02-24" "0.9.7d" "OpenSSL"
+.TH SMIME_write_PKCS7 3 "2006-07-29" "0.9.8b" "OpenSSL"
.SH "NAME"
SMIME_write_PKCS7 \- convert PKCS#7 structure to S/MIME format.
.SH "SYNOPSIS"
@@ -156,16 +156,18 @@ If the \fB\s-1PKCS7_TEXT\s0\fR flag is set \s-1MIME\s0 headers for type \fBtext/
are added to the content, this only makes sense if \fB\s-1PKCS7_DETACHED\s0\fR
is also set.
.PP
-If cleartext signing is being used then the data must be read twice:
-once to compute the signature in \fIPKCS7_sign()\fR and once to output the
-S/MIME message.
+If the \fB\s-1PKCS7_PARTSIGN\s0\fR flag is set the signed data is finalized
+and output along with the content. This flag should only be set
+if \fB\s-1PKCS7_DETACHED\s0\fR is also set and the previous call to \fIPKCS7_sign()\fR
+also set these flags.
+.PP
+If cleartext signing is being used and \fB\s-1PKCS7_PARTSIGN\s0\fR not set then
+the data must be read twice: once to compute the signature in \fIPKCS7_sign()\fR
+and once to output the S/MIME message.
.SH "BUGS"
.IX Header "BUGS"
\&\fISMIME_write_PKCS7()\fR always base64 encodes PKCS#7 structures, there
should be an option to disable this.
-.PP
-There should really be a way to produce cleartext signing using only
-a single pass of the data.
.SH "RETURN VALUES"
.IX Header "RETURN VALUES"
\&\fISMIME_write_PKCS7()\fR returns 1 for success or 0 for failure.
OpenPOWER on IntegriCloud