1 .\" $OpenBSD: DIST_POINT_new.3,v 1.2 2016/12/25 22:15:10 schwarze Exp $
3 .\" Copyright (c) 2016 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: December 25 2016 $
23 .Nm CRL_DIST_POINTS_new ,
24 .Nm CRL_DIST_POINTS_free ,
25 .Nm DIST_POINT_NAME_new ,
26 .Nm DIST_POINT_NAME_free ,
27 .Nm ISSUING_DIST_POINT_new ,
28 .Nm ISSUING_DIST_POINT_free
29 .Nd X.509 CRL distribution point extensions
33 .Fn DIST_POINT_new void
35 .Fn DIST_POINT_free "DIST_POINT *dp"
37 .Fn CRL_DIST_POINTS_new void
39 .Fn CRL_DIST_POINTS_free "CRL_DIST_POINTS *dps"
41 .Fn DIST_POINT_NAME_new void
43 .Fn DIST_POINT_NAME_free "DIST_POINT_NAME *name"
44 .Ft ISSUING_DIST_POINT *
45 .Fn ISSUING_DIST_POINT_new void
47 .Fn ISSUING_DIST_POINT_free "ISSUING_DIST_POINT *dp"
49 Using the CRL distribution point extension, a certificate can specify
50 where to obtain certificate revocation lists that might later revoke it.
53 allocates and initializes an empty
55 object, representing an ASN.1
57 structure defined in RFC 5280 section 4.2.1.13.
58 It can hold issuer names, distribution point names, and reason flags.
63 .Fn CRL_DIST_POINTS_new
64 allocates and initializes an empty
67 .Vt STACK_OF(DIST_POINT)
68 and represents the ASN.1
69 .Vt CRLDistributionPoints
70 structure defined in RFC 5280 section 4.2.1.13.
71 It can be used as an extension in
76 .Fn CRL_DIST_POINTS_free
80 .Fn DIST_POINT_NAME_new
81 allocates and initializes an empty
83 object, representing an ASN.1
84 .Vt DistributionPointName
85 structure defined in RFC 5280 section 4.2.1.13.
89 .Vt ISSUING_DIST_POINT
90 objects and can hold multiple names, each representing a different
91 way to obtain the same CRL.
92 .Fn DIST_POINT_NAME_free
96 .Fn ISSUING_DIST_POINT_new
97 allocates and initializes an empty
98 .Vt ISSUING_DIST_POINT
99 object, representing an ASN.1
100 .Vt IssuingDistributionPoint
101 structure defined in RFC 5280 section 5.2.5.
102 Using this extension, a CRL can specify which distribution point
103 it was issued from and which kinds of certificates and revocation
105 .Fn ISSUING_DIST_POINT_free
110 .Fn CRL_DIST_POINTS_new ,
111 .Fn DIST_POINT_NAME_new ,
113 .Fn ISSUING_DIST_POINT_new
116 .Vt CRL_DIST_POINTS ,
117 .Vt DIST_POINT_NAME ,
119 .Vt ISSUING_DIST_POINT
120 object, respectively, or
124 .Xr GENERAL_NAMES_new 3 ,
126 .Xr X509_EXTENSION_new 3 ,
127 .Xr X509_NAME_new 3 ,
130 RFC 5280: Internet X.509 Public Key Infrastructure Certificate and
131 Certificate Revocation List (CRL) Profile:
134 section 4.2.1.13: CRL Distribution Points
136 section 5.2.5: Issuing Distribution Point