1x509(3)                             OpenSSL                            x509(3)
2
3
4

NAME

6       x509 - X.509 certificate handling
7

SYNOPSIS

9        #include <openssl/x509.h>
10

DESCRIPTION

12       A X.509 certificate is a structured grouping of information about an
13       individual, a device, or anything one can imagine.  A X.509 CRL (cer‐
14       tificate revocation list) is a tool to help determine if a certificate
15       is still valid.  The exact definition of those can be found in the
16       X.509 document from ITU-T, or in RFC3280 from PKIX.  In OpenSSL, the
17       type X509 is used to express such a certificate, and the type X509_CRL
18       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 attributes), 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_..., d2i_X509_... and i2d_X509_... handle X.509 certificates, with
33       some exceptions, shown below.
34
35       X509_CRL_..., d2i_X509_CRL_... and i2d_X509_CRL_...  handle X.509 CRLs.
36
37       X509_REQ_..., d2i_X509_REQ_... and i2d_X509_REQ_...  handle PKCS#10
38       certificate requests.
39
40       X509_NAME_... handle certificate names.
41
42       X509_ATTRIBUTE_... handle certificate attributes.
43
44       X509_EXTENSION_... handle certificate extensions.
45

SEE ALSO

47       X509_NAME_ENTRY_get_object(3), X509_NAME_add_entry_by_txt(3),
48       X509_NAME_add_entry_by_NID(3), X509_NAME_print_ex(3), X509_NAME_new(3),
49       d2i_X509(3), d2i_X509_ALGOR(3), d2i_X509_CRL(3), d2i_X509_NAME(3),
50       d2i_X509_REQ(3), d2i_X509_SIG(3), crypto(3), x509v3(3)
51
52
53
540.9.8b                            2003-07-10                           x509(3)
Impressum