~myers-1/pyopenssl/npn

« back to all changes in this revision

Viewing changes to doc/html/revoked.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.11 Revoked objects </title>
5
 
<META NAME="description" CONTENT="3.1.11 Revoked objects ">
 
4
<title>3.1.12 Revoked objects </title>
 
5
<META NAME="description" CONTENT="3.1.12 Revoked objects ">
6
6
<META NAME="keywords" CONTENT="pyOpenSSL">
7
7
<META NAME="resource-type" CONTENT="document">
8
8
<META NAME="distribution" CONTENT="global">
35
35
  border="0" height="32"
36
36
  alt="" width="32"></td>
37
37
</tr></table>
38
 
<b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A>
 
38
<b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.11 CRL objects</A>
39
39
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto  </A>
40
40
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-rand.html">3.2 rand  </A>
41
41
<br><hr>
42
42
</DIV>
43
43
<!--End of Navigation Panel-->
44
44
 
45
 
<H3><A NAME="SECTION0004111000000000000000">&nbsp;</A>
 
45
<H3><A NAME="SECTION0004112000000000000000">&nbsp;</A>
46
46
<BR>
47
 
3.1.11 Revoked objects 
 
47
3.1.12 Revoked objects 
48
48
</H3>
49
49
 
50
50
<P>
51
51
Revoked objects have the following methods:
52
52
 
53
53
<P>
54
 
<dl><dt><b><a name='l2h-105'><tt class='method'>all_reasons</tt></a></b>()
 
54
<dl><dt><b><a name='l2h-109'><tt class='method'>all_reasons</tt></a></b>()
55
55
<dd>
56
56
Return a list of all supported reasons.
57
57
</dl>
58
58
 
59
59
<P>
60
 
<dl><dt><b><a name='l2h-106'><tt class='method'>get_reason</tt></a></b>()
 
60
<dl><dt><b><a name='l2h-110'><tt class='method'>get_reason</tt></a></b>()
61
61
<dd>
62
62
Return the revocation reason as a str.  Can be
63
63
None, which differs from "Unspecified".
64
64
</dl>
65
65
 
66
66
<P>
67
 
<dl><dt><b><a name='l2h-107'><tt class='method'>get_rev_date</tt></a></b>()
 
67
<dl><dt><b><a name='l2h-111'><tt class='method'>get_rev_date</tt></a></b>()
68
68
<dd>
69
69
Return the revocation date as a str.
70
70
The string is formatted as an ASN1 GENERALIZEDTIME.
71
71
</dl>
72
72
 
73
73
<P>
74
 
<dl><dt><b><a name='l2h-108'><tt class='method'>get_serial</tt></a></b>()
 
74
<dl><dt><b><a name='l2h-112'><tt class='method'>get_serial</tt></a></b>()
75
75
<dd>
76
76
Return a str containing a hex number of the serial of the revoked certificate.
77
77
</dl>
78
78
 
79
79
<P>
80
 
<dl><dt><b><a name='l2h-109'><tt class='method'>set_reason</tt></a></b>(<var>reason</var>)
 
80
<dl><dt><b><a name='l2h-113'><tt class='method'>set_reason</tt></a></b>(<var>reason</var>)
81
81
<dd>
82
82
Set the revocation reason.  <var>reason</var> must
83
83
be None or a string, but the values are limited.  
85
85
</dl>
86
86
 
87
87
<P>
88
 
<dl><dt><b><a name='l2h-110'><tt class='method'>set_rev_date</tt></a></b>(<var>date</var>)
 
88
<dl><dt><b><a name='l2h-114'><tt class='method'>set_rev_date</tt></a></b>(<var>date</var>)
89
89
<dd>
90
90
Set the revocation date.
91
91
The string is formatted as an ASN1 GENERALIZEDTIME.
92
92
</dl>
93
93
 
94
94
<P>
95
 
<dl><dt><b><a name='l2h-111'><tt class='method'>set_serial</tt></a></b>(<var>serial</var>)
 
95
<dl><dt><b><a name='l2h-115'><tt class='method'>set_serial</tt></a></b>(<var>serial</var>)
96
96
<dd>
97
97
<var>serial</var> is a string containing a hex number of the serial of the revoked certificate.
98
98
</dl>
123
123
  border="0" height="32"
124
124
  alt="" width="32"></td>
125
125
</tr></table>
126
 
<b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A>
 
126
<b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.11 CRL objects</A>
127
127
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto  </A>
128
128
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-rand.html">3.2 rand  </A>
129
129
<hr>