diff options
author | schwarze <> | 2019-08-18 12:06:51 +0000 |
---|---|---|
committer | schwarze <> | 2019-08-18 12:06:51 +0000 |
commit | 0fc04f9f313a0675c6689b0b146c615e2005c6d8 (patch) | |
tree | c07653e3f91a7205f7af074ddae021ab713bba90 /src/lib/libcrypto/man/CMS_sign_receipt.3 | |
parent | 8287ed3c26f4dba696df881277cbd91ece5196fb (diff) | |
download | openbsd-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.3 | 21 |
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 |
69 | creates and returns a CMS signed receipt structure. | 69 | creates a new CMS |
70 | .Vt SignedData | ||
71 | structure containing a signed | ||
72 | .Vt Receipt | ||
73 | as its embedded content. | ||
70 | .Fa si | 74 | .Fa si |
71 | is the | 75 | is the |
72 | .Vt CMS_SignerInfo | 76 | .Vt SignerInfo |
73 | structure containing the signed receipt request. | 77 | structure containing the signed receipt request. |
74 | .Fa signcert | 78 | .Fa signcert |
75 | is the certificate to sign with, | 79 | is the certificate to sign with, |
@@ -79,12 +83,11 @@ is the corresponding private key. | |||
79 | is an optional additional set of certificates to include in the CMS | 83 | is an optional additional set of certificates to include in the CMS |
80 | structure (for example any intermediate CAs in the chain). | 84 | structure (for example any intermediate CAs in the chain). |
81 | .Pp | 85 | .Pp |
82 | .Fa flags | ||
83 | is an optional set of flags. | ||
84 | .Pp | ||
85 | This functions behaves in a similar way to | 86 | This functions behaves in a similar way to |
86 | .Xr CMS_sign 3 | 87 | .Xr CMS_sign 3 |
87 | except the flag values | 88 | except that the |
89 | .Fa flags | ||
90 | values | ||
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 | ||
112 | RFC 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 |
110 | first appeared in OpenSSL 0.9.8h | 115 | first appeared in OpenSSL 0.9.8h |