~myers-1/pyopenssl/npn

« back to all changes in this revision

Viewing changes to doc/html/crl.html

  • Committer: Jean-Paul Calderone
  • Date: 2011-04-11 23:26:11 UTC
  • mfrom: (143.1.6 release-0.12)
  • Revision ID: exarkun@divmod.com-20110411232611-z1xtswwjxqorzjrn
Merge 0.12 release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<title>3.1.10 CRL objects </title>
5
 
<META NAME="description" CONTENT="3.1.10 CRL objects ">
 
4
<title>3.1.11 CRL objects </title>
 
5
<META NAME="description" CONTENT="3.1.11 CRL objects ">
6
6
<META NAME="keywords" CONTENT="pyOpenSSL">
7
7
<META NAME="resource-type" CONTENT="document">
8
8
<META NAME="distribution" CONTENT="global">
36
36
  border="0" height="32"
37
37
  alt="" width="32"></td>
38
38
</tr></table>
39
 
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
 
39
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.10 NetscapeSPKI objects</A>
40
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>
 
41
<b class="navlabel">Next:</b> <a class="sectref" href="revoked.html">3.1.12 Revoked objects</A>
42
42
<br><hr>
43
43
</DIV>
44
44
<!--End of Navigation Panel-->
45
45
 
46
 
<H3><A NAME="SECTION0004110000000000000000">&nbsp;</A>
 
46
<H3><A NAME="SECTION0004111000000000000000">&nbsp;</A>
47
47
<BR>
48
 
3.1.10 CRL objects 
 
48
3.1.11 CRL objects 
49
49
</H3>
50
50
 
51
51
<P>
52
52
CRL objects have the following methods:
53
53
 
54
54
<P>
55
 
<dl><dt><b><a name='l2h-102'><tt class='method'>add_revoked</tt></a></b>(<var>revoked</var>)
 
55
<dl><dt><b><a name='l2h-106'><tt class='method'>add_revoked</tt></a></b>(<var>revoked</var>)
56
56
<dd>
57
57
Add a Revoked object to the CRL, by value not reference.
58
58
</dl>
59
59
 
60
60
<P>
61
 
<dl><dt><b><a name='l2h-103'><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>)
 
61
<dl><dt><b><a name='l2h-107'><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>)
62
62
<dd>
63
63
Use <var>cert</var> and <var>key</var> to sign the CRL and return the CRL as a string.
64
64
<var>days</var> is the number of days before the next CRL is due.
65
65
</dl>
66
66
 
67
67
<P>
68
 
<dl><dt><b><a name='l2h-104'><tt class='method'>get_revoked</tt></a></b>()
 
68
<dl><dt><b><a name='l2h-108'><tt class='method'>get_revoked</tt></a></b>()
69
69
<dd>
70
70
Return a tuple of Revoked objects, by value not reference.
71
71
</dl>
96
96
  border="0" height="32"
97
97
  alt="" width="32"></td>
98
98
</tr></table>
99
 
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
 
99
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.10 NetscapeSPKI objects</A>
100
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>
 
101
<b class="navlabel">Next:</b> <a class="sectref" href="revoked.html">3.1.12 Revoked objects</A>
102
102
<hr>
103
103
<span class="release-info">Release 0.11.</span>
104
104
</DIV>