summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/PKCS7_sign.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_sign.3')
-rw-r--r--src/lib/libcrypto/man/PKCS7_sign.316
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_sign.3 b/src/lib/libcrypto/man/PKCS7_sign.3
index a04e800ca9..d5f4c89c61 100644
--- a/src/lib/libcrypto/man/PKCS7_sign.3
+++ b/src/lib/libcrypto/man/PKCS7_sign.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: PKCS7_sign.3,v 1.10 2019/06/10 14:58:48 schwarze Exp $ 1.\" $OpenBSD: PKCS7_sign.3,v 1.11 2020/06/03 13:41:27 schwarze Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2002, 2003, 2006-2009, 2015 The OpenSSL Project. 5.\" Copyright (c) 2002, 2003, 2006-2009, 2015 The OpenSSL Project.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: June 10 2019 $ 52.Dd $Mdocdate: June 3 2020 $
53.Dt PKCS7_SIGN 3 53.Dt PKCS7_SIGN 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -166,11 +166,12 @@ properly finalize the
166.Vt PKCS7 166.Vt PKCS7
167structure will give unpredictable results. 167structure will give unpredictable results.
168.Pp 168.Pp
169Several functions, including 169Several functions including
170.Xr PKCS7_final 3 ,
170.Xr SMIME_write_PKCS7 3 , 171.Xr SMIME_write_PKCS7 3 ,
171.Xr i2d_PKCS7_bio_stream 3 ,
172and
173.Xr PEM_write_bio_PKCS7_stream 3 , 172.Xr PEM_write_bio_PKCS7_stream 3 ,
173and
174.Xr i2d_PKCS7_bio_stream 3
174finalize the structure. 175finalize the structure.
175Alternatively finalization can be performed by obtaining the streaming 176Alternatively finalization can be performed by obtaining the streaming
176ASN.1 177ASN.1
@@ -196,7 +197,7 @@ if the
196flag is set. 197flag is set.
197One or more signers can be added using the function 198One or more signers can be added using the function
198.Xr PKCS7_sign_add_signer 3 . 199.Xr PKCS7_sign_add_signer 3 .
199.Fn PKCS7_final 200.Xr PKCS7_final 3
200must also be called to finalize the structure if streaming is not 201must also be called to finalize the structure if streaming is not
201enabled. 202enabled.
202Alternative signing digests can also be specified using this method. 203Alternative signing digests can also be specified using this method.
@@ -228,6 +229,7 @@ The error can be obtained from
228.Xr ERR_get_error 3 . 229.Xr ERR_get_error 3 .
229.Sh SEE ALSO 230.Sh SEE ALSO
230.Xr PKCS7_encrypt 3 , 231.Xr PKCS7_encrypt 3 ,
232.Xr PKCS7_final 3 ,
231.Xr PKCS7_new 3 , 233.Xr PKCS7_new 3 ,
232.Xr PKCS7_sign_add_signer 3 , 234.Xr PKCS7_sign_add_signer 3 ,
233.Xr PKCS7_verify 3 235.Xr PKCS7_verify 3