summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/PKCS7_encrypt.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_encrypt.3')
-rw-r--r--src/lib/libcrypto/man/PKCS7_encrypt.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_encrypt.3 b/src/lib/libcrypto/man/PKCS7_encrypt.3
index 1ab99c917c..56c22c85e3 100644
--- a/src/lib/libcrypto/man/PKCS7_encrypt.3
+++ b/src/lib/libcrypto/man/PKCS7_encrypt.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: PKCS7_encrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: PKCS7_encrypt.3,v 1.3 2016/11/24 19:45:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 24 2016 $
4.Dt PKCS7_ENCRYPT 3 4.Dt PKCS7_ENCRYPT 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -33,7 +33,7 @@ though they do not have to be signed using the RSA algorithm.
33.Pp 33.Pp
34The algorithm passed in the 34The algorithm passed in the
35.Fa cipher 35.Fa cipher
36parameter must support ASN1 encoding of its parameters. 36parameter must support ASN.1 encoding of its parameters.
37.Pp 37.Pp
38Many browsers implement a "sign and encrypt" option which is simply an 38Many browsers implement a "sign and encrypt" option which is simply an
39S/MIME envelopedData containing an S/MIME signed message. 39S/MIME envelopedData containing an S/MIME signed message.
@@ -84,14 +84,14 @@ properly finalize the
84.Vt PKCS7 84.Vt PKCS7
85structure will give unpredictable results. 85structure will give unpredictable results.
86.Pp 86.Pp
87Several functions including 87Several functions, including
88.Xr SMIME_write_PKCS7 3 , 88.Xr SMIME_write_PKCS7 3 ,
89.Xr i2d_PKCS7_bio_stream 3 , 89.Xr i2d_PKCS7_bio_stream 3 ,
90and 90and
91.Xr PEM_write_bio_PKCS7_stream 3 91.Xr PEM_write_bio_PKCS7_stream 3 ,
92finalize the structure. 92finalize the structure.
93Alternatively finalization can be performed by obtaining the streaming 93Alternatively finalization can be performed by obtaining the streaming
94ASN1 94ASN.1
95.Vt BIO 95.Vt BIO
96directly using 96directly using
97.Xr BIO_new_PKCS7 3 . 97.Xr BIO_new_PKCS7 3 .