summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/PKCS7_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_new.3')
-rw-r--r--src/lib/libcrypto/man/PKCS7_new.354
1 files changed, 32 insertions, 22 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_new.3 b/src/lib/libcrypto/man/PKCS7_new.3
index 9feecbb88b..7f8cffd881 100644
--- a/src/lib/libcrypto/man/PKCS7_new.3
+++ b/src/lib/libcrypto/man/PKCS7_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: PKCS7_new.3,v 1.1 2016/12/13 14:31:55 schwarze Exp $ 1.\" $OpenBSD: PKCS7_new.3,v 1.2 2016/12/25 22:15:10 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2016 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: December 13 2016 $ 17.Dd $Mdocdate: December 25 2016 $
18.Dt PKCS7_NEW 3 18.Dt PKCS7_NEW 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -88,8 +88,9 @@ cryptography applied to it, in particular signed and encrypted data.
88.Fn PKCS7_new 88.Fn PKCS7_new
89allocates and initializes an empty 89allocates and initializes an empty
90.Vt PKCS7 90.Vt PKCS7
91object, representing an ASN.1 ContentInfo structure 91object, representing an ASN.1
92defined in RFC 2315 section 7. 92.Vt ContentInfo
93structure defined in RFC 2315 section 7.
93It is the top-level data structure able to hold any kind of content 94It is the top-level data structure able to hold any kind of content
94that can be transmitted using PKCS#7. 95that can be transmitted using PKCS#7.
95It can be used recursively in 96It can be used recursively in
@@ -104,8 +105,9 @@ frees
104.Fn PKCS7_SIGNED_new 105.Fn PKCS7_SIGNED_new
105allocates and initializes an empty 106allocates and initializes an empty
106.Vt PKCS7_SIGNED 107.Vt PKCS7_SIGNED
107object, representing an ASN.1 SignedData structure 108object, representing an ASN.1
108defined in RFC 2315 section 9. 109.Vt SignedData
110structure defined in RFC 2315 section 9.
109It can be used inside 111It can be used inside
110.Vt PKCS7 112.Vt PKCS7
111objects and holds any kind of content together with signatures by 113objects and holds any kind of content together with signatures by
@@ -118,8 +120,9 @@ frees
118.Fn PKCS7_ENVELOPE_new 120.Fn PKCS7_ENVELOPE_new
119allocates and initializes an empty 121allocates and initializes an empty
120.Vt PKCS7_ENVELOPE 122.Vt PKCS7_ENVELOPE
121object, representing an ASN.1 EnvelopedData structure 123object, representing an ASN.1
122defined in RFC 2315 section 10. 124.Vt EnvelopedData
125structure defined in RFC 2315 section 10.
123It can be used inside 126It can be used inside
124.Vt PKCS7 127.Vt PKCS7
125objects and holds any kind of encrypted content together with 128objects and holds any kind of encrypted content together with
@@ -131,8 +134,9 @@ frees
131.Fn PKCS7_SIGN_ENVELOPE_new 134.Fn PKCS7_SIGN_ENVELOPE_new
132allocates and initializes an empty 135allocates and initializes an empty
133.Vt PKCS7_SIGN_ENVELOPE 136.Vt PKCS7_SIGN_ENVELOPE
134object, representing an ASN.1 SignedAndEnvelopedData structure 137object, representing an ASN.1
135defined in RFC 2315 section 11. 138.Vt SignedAndEnvelopedData
139structure defined in RFC 2315 section 11.
136It can be used inside 140It can be used inside
137.Vt PKCS7 141.Vt PKCS7
138objects and holds any kind of encrypted content together with 142objects and holds any kind of encrypted content together with
@@ -146,8 +150,9 @@ frees
146.Fn PKCS7_DIGEST_new 150.Fn PKCS7_DIGEST_new
147allocates and initializes an empty 151allocates and initializes an empty
148.Vt PKCS7_DIGEST 152.Vt PKCS7_DIGEST
149object, representing an ASN.1 DigestedData structure 153object, representing an ASN.1
150defined in RFC 2315 section 12. 154.Vt DigestedData
155structure defined in RFC 2315 section 12.
151It can be used inside 156It can be used inside
152.Vt PKCS7 157.Vt PKCS7
153objects and holds any kind of content together with a message digest 158objects and holds any kind of content together with a message digest
@@ -159,8 +164,9 @@ frees
159.Fn PKCS7_ENCRYPT_new 164.Fn PKCS7_ENCRYPT_new
160allocates and initializes an empty 165allocates and initializes an empty
161.Vt PKCS7_ENCRYPT 166.Vt PKCS7_ENCRYPT
162object, representing an ASN.1 EncryptedData structure 167object, representing an ASN.1
163defined in RFC 2315 section 13. 168.Vt EncryptedData
169structure defined in RFC 2315 section 13.
164It can be used inside 170It can be used inside
165.Vt PKCS7 171.Vt PKCS7
166objects and holds any kind of encrypted content. 172objects and holds any kind of encrypted content.
@@ -172,8 +178,9 @@ frees
172.Fn PKCS7_ENC_CONTENT_new 178.Fn PKCS7_ENC_CONTENT_new
173allocates and initializes an empty 179allocates and initializes an empty
174.Vt PKCS7_ENC_CONTENT 180.Vt PKCS7_ENC_CONTENT
175object, representing an ASN.1 EncryptedContentInfo structure 181object, representing an ASN.1
176defined in RFC 2315 section 10.1. 182.Vt EncryptedContentInfo
183structure defined in RFC 2315 section 10.1.
177It can be used inside 184It can be used inside
178.Vt PKCS7_ENVELOPE , 185.Vt PKCS7_ENVELOPE ,
179.Vt PKCS7_SIGN_ENVELOPE , 186.Vt PKCS7_SIGN_ENVELOPE ,
@@ -188,8 +195,9 @@ frees
188.Fn PKCS7_SIGNER_INFO_new 195.Fn PKCS7_SIGNER_INFO_new
189allocates and initializes an empty 196allocates and initializes an empty
190.Vt PKCS7_SIGNER_INFO 197.Vt PKCS7_SIGNER_INFO
191object, representing an ASN.1 SignerInfo structure 198object, representing an ASN.1
192defined in RFC 2315 section 9.2. 199.Vt SignerInfo
200structure defined in RFC 2315 section 9.2.
193It can be used inside 201It can be used inside
194.Vt PKCS7_SIGNED 202.Vt PKCS7_SIGNED
195and 203and
@@ -203,8 +211,9 @@ frees
203.Fn PKCS7_RECIP_INFO_new 211.Fn PKCS7_RECIP_INFO_new
204allocates and initializes an empty 212allocates and initializes an empty
205.Vt PKCS7_RECIP_INFO 213.Vt PKCS7_RECIP_INFO
206object, representing an ASN.1 RecipientInfo structure 214object, representing an ASN.1
207defined in RFC 2315 section 10.2. 215.Vt RecipientInfo
216structure defined in RFC 2315 section 10.2.
208It can be used inside 217It can be used inside
209.Vt PKCS7_ENVELOPE 218.Vt PKCS7_ENVELOPE
210and 219and
@@ -218,8 +227,9 @@ frees
218.Fn PKCS7_ISSUER_AND_SERIAL_new 227.Fn PKCS7_ISSUER_AND_SERIAL_new
219allocates and initializes an empty 228allocates and initializes an empty
220.Vt PKCS7_ISSUER_AND_SERIAL 229.Vt PKCS7_ISSUER_AND_SERIAL
221object, representing an ASN.1 IssuerAndSerialNumber structure 230object, representing an ASN.1
222defined in RFC 2315 section 6.7. 231.Vt IssuerAndSerialNumber
232structure defined in RFC 2315 section 6.7.
223It can be used inside 233It can be used inside
224.Vt PKCS7_SIGNER_INFO 234.Vt PKCS7_SIGNER_INFO
225and 235and