diff options
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_encrypt.3')
-rw-r--r-- | src/lib/libcrypto/man/PKCS7_encrypt.3 | 12 |
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 |
34 | The algorithm passed in the | 34 | The algorithm passed in the |
35 | .Fa cipher | 35 | .Fa cipher |
36 | parameter must support ASN1 encoding of its parameters. | 36 | parameter must support ASN.1 encoding of its parameters. |
37 | .Pp | 37 | .Pp |
38 | Many browsers implement a "sign and encrypt" option which is simply an | 38 | Many browsers implement a "sign and encrypt" option which is simply an |
39 | S/MIME envelopedData containing an S/MIME signed message. | 39 | S/MIME envelopedData containing an S/MIME signed message. |
@@ -84,14 +84,14 @@ properly finalize the | |||
84 | .Vt PKCS7 | 84 | .Vt PKCS7 |
85 | structure will give unpredictable results. | 85 | structure will give unpredictable results. |
86 | .Pp | 86 | .Pp |
87 | Several functions including | 87 | Several 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 , |
90 | and | 90 | and |
91 | .Xr PEM_write_bio_PKCS7_stream 3 | 91 | .Xr PEM_write_bio_PKCS7_stream 3 , |
92 | finalize the structure. | 92 | finalize the structure. |
93 | Alternatively finalization can be performed by obtaining the streaming | 93 | Alternatively finalization can be performed by obtaining the streaming |
94 | ASN1 | 94 | ASN.1 |
95 | .Vt BIO | 95 | .Vt BIO |
96 | directly using | 96 | directly using |
97 | .Xr BIO_new_PKCS7 3 . | 97 | .Xr BIO_new_PKCS7 3 . |