1X509(7)                             OpenSSL                            X509(7)
2
3
4

NAME

6       x509 - X.509 certificate handling
7

SYNOPSIS

9        #include <openssl/x509.h>
10

DESCRIPTION

12       An X.509 certificate is a structured grouping of information about an
13       individual, a device, or anything one can imagine.  An X.509 CRL
14       (certificate revocation list) is a tool to help determine if a
15       certificate is still valid.  The exact definition of those can be found
16       in the X.509 document from ITU-T, or in RFC3280 from PKIX.  In OpenSSL,
17       the type X509 is used to express such a certificate, and the type
18       X509_CRL is used to express a CRL.
19
20       A related structure is a certificate request, defined in PKCS#10 from
21       RSA Security, Inc, also reflected in RFC2896.  In OpenSSL, the type
22       X509_REQ is used to express such a certificate request.
23
24       To handle some complex parts of a certificate, there are the types
25       X509_NAME (to express a certificate name), X509_ATTRIBUTE (to express a
26       certificate attribute), X509_EXTENSION (to express a certificate
27       extension) and a few more.
28
29       Finally, there's the supertype X509_INFO, which can contain a CRL, a
30       certificate and a corresponding private key.
31
32       X509_XXX, d2i_X509_XXX, and i2d_X509_XXX functions handle X.509
33       certificates, with some exceptions, shown below.
34
35       X509_CRL_XXX, d2i_X509_CRL_XXX, and i2d_X509_CRL_XXX functions handle
36       X.509 CRLs.
37
38       X509_REQ_XXX, d2i_X509_REQ_XXX, and i2d_X509_REQ_XXX functions handle
39       PKCS#10 certificate requests.
40
41       X509_NAME_XXX functions handle certificate names.
42
43       X509_ATTRIBUTE_XXX functions handle certificate attributes.
44
45       X509_EXTENSION_XXX functions handle certificate extensions.
46

SEE ALSO

48       X509_NAME_ENTRY_get_object(3), X509_NAME_add_entry_by_txt(3),
49       X509_NAME_add_entry_by_NID(3), X509_NAME_print_ex(3), X509_NAME_new(3),
50       d2i_X509(3), d2i_X509_ALGOR(3), d2i_X509_CRL(3), d2i_X509_NAME(3),
51       d2i_X509_REQ(3), d2i_X509_SIG(3), X509v3(3), crypto(7)
52
54       Copyright 2003-2021 The OpenSSL Project Authors. All Rights Reserved.
55
56       Licensed under the OpenSSL license (the "License").  You may not use
57       this file except in compliance with the License.  You can obtain a copy
58       in the file LICENSE in the source distribution or at
59       <https://www.openssl.org/source/license.html>.
60
61
62
631.1.1l                            2021-09-15                           X509(7)
Impressum