summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/CMS_sign_receipt.3
diff options
context:
space:
mode:
authorschwarze <>2019-08-18 12:06:51 +0000
committerschwarze <>2019-08-18 12:06:51 +0000
commit0fc04f9f313a0675c6689b0b146c615e2005c6d8 (patch)
treec07653e3f91a7205f7af074ddae021ab713bba90 /src/lib/libcrypto/man/CMS_sign_receipt.3
parent8287ed3c26f4dba696df881277cbd91ece5196fb (diff)
downloadopenbsd-0fc04f9f313a0675c6689b0b146c615e2005c6d8.tar.gz
openbsd-0fc04f9f313a0675c6689b0b146c615e2005c6d8.tar.bz2
openbsd-0fc04f9f313a0675c6689b0b146c615e2005c6d8.zip
minor cleanup:
* add the missing STANDARDS sections * mark up ASN.1 type names * GOST does not need an ENGINE in LibreSSL, so don't use it as an example * and minor wording improvements and typo fixes
Diffstat (limited to 'src/lib/libcrypto/man/CMS_sign_receipt.3')
-rw-r--r--src/lib/libcrypto/man/CMS_sign_receipt.321
1 files changed, 13 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/CMS_sign_receipt.3 b/src/lib/libcrypto/man/CMS_sign_receipt.3
index 88d03d79db..e827900a84 100644
--- a/src/lib/libcrypto/man/CMS_sign_receipt.3
+++ b/src/lib/libcrypto/man/CMS_sign_receipt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CMS_sign_receipt.3,v 1.4 2019/08/11 12:46:38 schwarze Exp $ 1.\" $OpenBSD: CMS_sign_receipt.3,v 1.5 2019/08/18 12:06:51 schwarze Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +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>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: August 11 2019 $ 51.Dd $Mdocdate: August 18 2019 $
52.Dt CMS_SIGN_RECEIPT 3 52.Dt CMS_SIGN_RECEIPT 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -66,10 +66,14 @@
66.Fc 66.Fc
67.Sh DESCRIPTION 67.Sh DESCRIPTION
68.Fn CMS_sign_receipt 68.Fn CMS_sign_receipt
69creates and returns a CMS signed receipt structure. 69creates a new CMS
70.Vt SignedData
71structure containing a signed
72.Vt Receipt
73as its embedded content.
70.Fa si 74.Fa si
71is the 75is the
72.Vt CMS_SignerInfo 76.Vt SignerInfo
73structure containing the signed receipt request. 77structure containing the signed receipt request.
74.Fa signcert 78.Fa signcert
75is the certificate to sign with, 79is the certificate to sign with,
@@ -79,12 +83,11 @@ is the corresponding private key.
79is an optional additional set of certificates to include in the CMS 83is an optional additional set of certificates to include in the CMS
80structure (for example any intermediate CAs in the chain). 84structure (for example any intermediate CAs in the chain).
81.Pp 85.Pp
82.Fa flags
83is an optional set of flags.
84.Pp
85This functions behaves in a similar way to 86This functions behaves in a similar way to
86.Xr CMS_sign 3 87.Xr CMS_sign 3
87except the flag values 88except that the
89.Fa flags
90values
88.Dv CMS_DETACHED , 91.Dv CMS_DETACHED ,
89.Dv CMS_BINARY , 92.Dv CMS_BINARY ,
90.Dv CMS_NOATTR , 93.Dv CMS_NOATTR ,
@@ -105,6 +108,8 @@ The error can be obtained from
105.Sh SEE ALSO 108.Sh SEE ALSO
106.Xr CMS_sign 3 , 109.Xr CMS_sign 3 ,
107.Xr CMS_verify_receipt 3 110.Xr CMS_verify_receipt 3
111.Sh STANDARDS
112RFC 2634: Enhanced Security Services for S/MIME, section 2.8: Receipt Syntax
108.Sh HISTORY 113.Sh HISTORY
109.Fn CMS_sign_receipt 114.Fn CMS_sign_receipt
110first appeared in OpenSSL 0.9.8h 115first appeared in OpenSSL 0.9.8h