diff options
Diffstat (limited to 'src/lib/libcrypto/man/x509.3')
-rw-r--r-- | src/lib/libcrypto/man/x509.3 | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/src/lib/libcrypto/man/x509.3 b/src/lib/libcrypto/man/x509.3 deleted file mode 100644 index 93221c0250..0000000000 --- a/src/lib/libcrypto/man/x509.3 +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | .\" $OpenBSD: x509.3,v 1.7 2016/12/15 15:22:17 schwarze Exp $ | ||
2 | .\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100 | ||
3 | .\" | ||
4 | .\" This file was written by Richard Levitte <levitte@openssl.org> | ||
5 | .\" Copyright (c) 2003 The OpenSSL Project. All rights reserved. | ||
6 | .\" | ||
7 | .\" Redistribution and use in source and binary forms, with or without | ||
8 | .\" modification, are permitted provided that the following conditions | ||
9 | .\" are met: | ||
10 | .\" | ||
11 | .\" 1. Redistributions of source code must retain the above copyright | ||
12 | .\" notice, this list of conditions and the following disclaimer. | ||
13 | .\" | ||
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
15 | .\" notice, this list of conditions and the following disclaimer in | ||
16 | .\" the documentation and/or other materials provided with the | ||
17 | .\" distribution. | ||
18 | .\" | ||
19 | .\" 3. All advertising materials mentioning features or use of this | ||
20 | .\" software must display the following acknowledgment: | ||
21 | .\" "This product includes software developed by the OpenSSL Project | ||
22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
23 | .\" | ||
24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
25 | .\" endorse or promote products derived from this software without | ||
26 | .\" prior written permission. For written permission, please contact | ||
27 | .\" openssl-core@openssl.org. | ||
28 | .\" | ||
29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
31 | .\" permission of the OpenSSL Project. | ||
32 | .\" | ||
33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
34 | .\" acknowledgment: | ||
35 | .\" "This product includes software developed by the OpenSSL Project | ||
36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
37 | .\" | ||
38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
50 | .\" | ||
51 | .Dd $Mdocdate: December 15 2016 $ | ||
52 | .Dt X509 3 | ||
53 | .Os | ||
54 | .Sh NAME | ||
55 | .Nm x509 | ||
56 | .Nd X.509 certificate handling | ||
57 | .Sh SYNOPSIS | ||
58 | .In openssl/x509.h | ||
59 | .Sh DESCRIPTION | ||
60 | An X.509 certificate is a structured grouping of information about an | ||
61 | individual, a device, or anything one can imagine. | ||
62 | An X.509 CRL (certificate revocation list) is a tool to help determine if | ||
63 | a certificate is still valid. | ||
64 | The exact definition of those can be found in the X.509 document from | ||
65 | ITU-T, or in RFC 3280 from PKIX. | ||
66 | In OpenSSL, the type | ||
67 | .Vt X509 | ||
68 | is used to express such a certificate, and the type | ||
69 | .Vt X509_CRL | ||
70 | is used to express a CRL. | ||
71 | .Pp | ||
72 | A related structure is a certificate request, defined in PKCS#10 from | ||
73 | RSA Security, Inc., also reflected in RFC 2896. | ||
74 | In OpenSSL, the type | ||
75 | .Vt X509_REQ | ||
76 | is used to express such a certificate request. | ||
77 | .Pp | ||
78 | Finally, there's the supertype | ||
79 | .Vt X509_INFO , | ||
80 | which can contain a CRL, a certificate, and a corresponding private key. | ||
81 | .Pp | ||
82 | The functions | ||
83 | .Fa X509_* , | ||
84 | .Fa d2i_X509_* , | ||
85 | and | ||
86 | .Fa i2d_X509_* | ||
87 | handle X.509 certificates, with some exceptions shown below. | ||
88 | .Pp | ||
89 | .Fa X509_CRL_* , | ||
90 | .Fa d2i_X509_CRL_* , | ||
91 | and | ||
92 | .Fa i2d_X509_CRL_* | ||
93 | handle X.509 CRLs. | ||
94 | .Pp | ||
95 | .Fa X509_REQ_* , | ||
96 | .Fa d2i_X509_REQ_* , | ||
97 | and | ||
98 | .Fa i2d_X509_REQ_* | ||
99 | handle PKCS#10 certificate requests. | ||
100 | .Pp | ||
101 | The object type | ||
102 | .Vt X509_NAME | ||
103 | and the functions documented in | ||
104 | .Xr X509_NAME_new 3 | ||
105 | and in the manual pages referenced from there handle certificate | ||
106 | and issuer names. | ||
107 | .Pp | ||
108 | .Fa X509_ATTRIBUTE_* | ||
109 | handle certificate attributes. | ||
110 | .Pp | ||
111 | The object type | ||
112 | .Vt X509_EXTENSION | ||
113 | and the functions documented in | ||
114 | .Xr X509_EXTENSION_new 3 | ||
115 | and in the manual pages referenced from there handle certificate | ||
116 | extensions and certificate revocation list extensions. | ||
117 | .Sh SEE ALSO | ||
118 | .Xr crypto 3 , | ||
119 | .Xr d2i_X509 3 , | ||
120 | .Xr d2i_X509_ALGOR 3 , | ||
121 | .Xr d2i_X509_CRL 3 , | ||
122 | .Xr d2i_X509_REQ 3 , | ||
123 | .Xr d2i_X509_SIG 3 , | ||
124 | .Xr X509_EXTENSION_new 3 , | ||
125 | .Xr X509_NAME_new 3 | ||