diff options
author | schwarze <> | 2020-06-03 13:41:27 +0000 |
---|---|---|
committer | schwarze <> | 2020-06-03 13:41:27 +0000 |
commit | 19f9a4a6a75ddb174cd77d6e0749b6fe9979e7c0 (patch) | |
tree | a20bd946e865f05d6bc35d05ac42fc545068567d /src/lib/libcrypto/man/PKCS7_dataInit.3 | |
parent | c34de2c3490495ca1d9afcbc43593161c810b669 (diff) | |
download | openbsd-19f9a4a6a75ddb174cd77d6e0749b6fe9979e7c0.tar.gz openbsd-19f9a4a6a75ddb174cd77d6e0749b6fe9979e7c0.tar.bz2 openbsd-19f9a4a6a75ddb174cd77d6e0749b6fe9979e7c0.zip |
Properly document PKCS7_final(3), which was already mentioned
in passing in some other manual pages.
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_dataInit.3')
-rw-r--r-- | src/lib/libcrypto/man/PKCS7_dataInit.3 | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_dataInit.3 b/src/lib/libcrypto/man/PKCS7_dataInit.3 index 53090ff960..cb54d3f95c 100644 --- a/src/lib/libcrypto/man/PKCS7_dataInit.3 +++ b/src/lib/libcrypto/man/PKCS7_dataInit.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: PKCS7_dataInit.3,v 1.1 2020/05/24 12:37:30 schwarze Exp $ | 1 | .\" $OpenBSD: PKCS7_dataInit.3,v 1.2 2020/06/03 13:41:27 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: May 24 2020 $ | 17 | .Dd $Mdocdate: June 3 2020 $ |
18 | .Dt PKCS7_DATAINIT 3 | 18 | .Dt PKCS7_DATAINIT 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -110,6 +110,20 @@ are typically required to create | |||
110 | to choose its desired type, and to allocate the nested | 110 | to choose its desired type, and to allocate the nested |
111 | .Vt ContentInfo | 111 | .Vt ContentInfo |
112 | structure. | 112 | structure. |
113 | Alternatively, for | ||
114 | .Vt SignedData , | ||
115 | .Xr PKCS7_sign 3 | ||
116 | can be used with the | ||
117 | .Dv PKCS7_PARTIAL | ||
118 | or | ||
119 | .Dv PKCS7_STREAM | ||
120 | .Fa flags | ||
121 | or for | ||
122 | .Vt EnvelopedData , | ||
123 | .Xr PKCS7_encrypt 3 | ||
124 | with the | ||
125 | .Dv PKCS7_STREAM | ||
126 | flag. | ||
113 | .Pp | 127 | .Pp |
114 | After calling | 128 | After calling |
115 | .Fn PKCS7_dataInit , | 129 | .Fn PKCS7_dataInit , |
@@ -130,7 +144,10 @@ does support the | |||
130 | .Vt EnvelopedData | 144 | .Vt EnvelopedData |
131 | and | 145 | and |
132 | .Vt SignedAndEnvelopedData | 146 | .Vt SignedAndEnvelopedData |
133 | types, using it for these types is awkward and error prone because | 147 | types, using it for these types is awkward and error prone |
148 | except when using | ||
149 | .Xr PKCS7_encrypt 3 | ||
150 | for the setup because | ||
134 | .Xr PKCS7_content_new 3 | 151 | .Xr PKCS7_content_new 3 |
135 | does not support these two types. | 152 | does not support these two types. |
136 | So in addition to creating | 153 | So in addition to creating |
@@ -183,6 +200,8 @@ or for various other reasons. | |||
183 | .Xr BIO_read 3 , | 200 | .Xr BIO_read 3 , |
184 | .Xr PKCS7_content_new 3 , | 201 | .Xr PKCS7_content_new 3 , |
185 | .Xr PKCS7_dataFinal 3 , | 202 | .Xr PKCS7_dataFinal 3 , |
203 | .Xr PKCS7_encrypt 3 , | ||
204 | .Xr PKCS7_final 3 , | ||
186 | .Xr PKCS7_new 3 , | 205 | .Xr PKCS7_new 3 , |
187 | .Xr PKCS7_set_type 3 , | 206 | .Xr PKCS7_set_type 3 , |
188 | .Xr PKCS7_sign 3 | 207 | .Xr PKCS7_sign 3 |