1 .\" $OpenBSD: X509_CRL_new.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $
3 .\" Copyright (c) 2016, 2018 Ingo Schwarze <schwarze@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: March 27 2018 $
25 .Nm X509_CRL_INFO_new ,
26 .Nm X509_CRL_INFO_free
27 .Nd X.509 certificate revocation lists
33 .Fn X509_CRL_dup "X509_CRL *crl"
35 .Fn X509_CRL_up_ref "X509_CRL *crl"
37 .Fn X509_CRL_free "X509_CRL *crl"
39 .Fn X509_CRL_INFO_new void
41 .Fn X509_CRL_INFO_free "X509_CRL_INFO *crl_info"
44 allocates and initializes an empty
46 object, representing an ASN.1
48 structure defined in RFC 5280 section 5.1.
49 It can hold a pointer to an
51 object discussed below together with a cryptographic signature
52 and information about the signature algorithm used.
53 The reference count is set to 1.
56 creates a deep copy of
60 increments the reference count of
65 decrements the reference count of
68 If the reference count reaches 0, it frees
72 allocates and initializes an empty
74 object, representing an ASN.1
76 structure defined in RFC 5280 section 5.1.
79 object and can hold a list of revoked certificates, an issuer name,
80 the time the list was issued, the time when the next update of the
81 list is due, and optional extensions.
82 .Fn X509_CRL_INFO_free
94 object, respectively, or
99 returns 1 on success or 0 on error.
101 .Xr ACCESS_DESCRIPTION_new 3 ,
102 .Xr AUTHORITY_KEYID_new 3 ,
104 .Xr DIST_POINT_new 3 ,
105 .Xr PEM_read_X509_CRL 3 ,
106 .Xr X509_CRL_get0_by_serial 3 ,
107 .Xr X509_CRL_get_ext 3 ,
108 .Xr X509_CRL_get_ext_d2i 3 ,
109 .Xr X509_CRL_get_issuer 3 ,
110 .Xr X509_CRL_get_version 3 ,
111 .Xr X509_CRL_sign 3 ,
112 .Xr X509_EXTENSION_new 3 ,
113 .Xr X509_load_crl_file 3 ,
115 .Xr X509_REVOKED_new 3 ,
116 .Xr X509_STORE_CTX_set0_crls 3
118 RFC 5280: Internet X.509 Public Key Infrastructure Certificate and
119 Certificate Revocation List (CRL) Profile, section 5: CRL and CRL
124 .Fn X509_CRL_INFO_new ,
126 .Fn X509_CRL_INFO_free
127 first appeared in SSLeay 0.4.4.
129 first appeared in SSLeay 0.5.1.
130 These functions have been available since
134 first appeared in OpenSSL 1.1.0 and has been available since