1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>3.1.10 CRL objects </title>
5
<META NAME="description" CONTENT="3.1.10 CRL objects ">
6
<META NAME="keywords" CONTENT="pyOpenSSL">
7
<META NAME="resource-type" CONTENT="document">
8
<META NAME="distribution" CONTENT="global">
9
<link rel="STYLESHEET" href="pyOpenSSL.css">
10
<LINK REL="next" href="revoked.html">
11
<LINK REL="previous" href="openssl-netscape-spki.html">
12
<LINK REL="up" href="openssl-crypto.html">
13
<LINK REL="next" href="revoked.html">
16
<DIV CLASS="navigation">
17
<table align="center" width="100%" cellpadding="0" cellspacing="2">
19
<td><A href="openssl-netscape-spki.html"><img src="previous.gif"
20
border="0" height="32"
21
alt="Previous Page" width="32"></A></td>
22
<td><A href="openssl-crypto.html"><img src="up.gif"
23
border="0" height="32"
24
alt="Up One Level" width="32"></A></td>
25
<td><A href="revoked.html"><img src="next.gif"
26
border="0" height="32"
27
alt="Next Page" width="32"></A></td>
28
<td align="center" width="100%">Python OpenSSL Manual</td>
29
<td><A href="contents.html"><img src="contents.gif"
30
border="0" height="32"
31
alt="Contents" width="32"></A></td>
32
<td><img src="blank.gif"
33
border="0" height="32"
34
alt="" width="32"></td>
35
<td><img src="blank.gif"
36
border="0" height="32"
37
alt="" width="32"></td>
39
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
40
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A>
41
<b class="navlabel">Next:</b> <a class="sectref" href="revoked.html">3.1.11 Revoked objects</A>
44
<!--End of Navigation Panel-->
46
<H3><A NAME="SECTION0004110000000000000000"> </A>
52
CRL objects have the following methods:
55
<dl><dt><b><a name='l2h-107'><tt class='method'>add_revoked</tt></a></b>(<var>revoked</var>)
57
Add a Revoked object to the CRL, by value not reference.
61
<dl><dt><b><a name='l2h-108'><tt class='method'>export</tt></a></b>(<var>cert, key</var><big>[</big><var>, type=FILETYPE_PEM</var><big>]</big><big>[</big><var>, days=100</var><big>]</big>)
63
Use <var>cert</var> and <var>key</var> to sign the CRL and return the CRL as a string.
64
<var>days</var> is the number of days before the next CRL is due.
68
<dl><dt><b><a name='l2h-109'><tt class='method'>get_revoked</tt></a></b>()
70
Return a tuple of Revoked objects, by value not reference.
75
<DIV CLASS="navigation">
77
<table align="center" width="100%" cellpadding="0" cellspacing="2">
79
<td><A href="openssl-netscape-spki.html"><img src="previous.gif"
80
border="0" height="32"
81
alt="Previous Page" width="32"></A></td>
82
<td><A href="openssl-crypto.html"><img src="up.gif"
83
border="0" height="32"
84
alt="Up One Level" width="32"></A></td>
85
<td><A href="revoked.html"><img src="next.gif"
86
border="0" height="32"
87
alt="Next Page" width="32"></A></td>
88
<td align="center" width="100%">Python OpenSSL Manual</td>
89
<td><A href="contents.html"><img src="contents.gif"
90
border="0" height="32"
91
alt="Contents" width="32"></A></td>
92
<td><img src="blank.gif"
93
border="0" height="32"
94
alt="" width="32"></td>
95
<td><img src="blank.gif"
96
border="0" height="32"
97
alt="" width="32"></td>
99
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
100
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A>
101
<b class="navlabel">Next:</b> <a class="sectref" href="revoked.html">3.1.11 Revoked objects</A>
103
<span class="release-info">Release 0.13.</span>
105
<!--End of Navigation Panel-->