%PDF- %PDF-
Direktori : /usr/share/doc/pyOpenSSL-0.13.1/html/ |
Current File : //usr/share/doc/pyOpenSSL-0.13.1/html/revoked.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>3.1.11 Revoked objects </title> <META NAME="description" CONTENT="3.1.11 Revoked objects "> <META NAME="keywords" CONTENT="pyOpenSSL"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <link rel="STYLESHEET" href="pyOpenSSL.css"> <LINK REL="previous" href="crl.html"> <LINK REL="up" href="openssl-crypto.html"> <LINK REL="next" href="openssl-rand.html"> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="crl.html"><img src="previous.gif" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="openssl-crypto.html"><img src="up.gif" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="openssl-rand.html"><img src="next.gif" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Python OpenSSL Manual</td> <td><A href="contents.html"><img src="contents.gif" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A> <b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-rand.html">3.2 rand </A> <br><hr> </DIV> <!--End of Navigation Panel--> <H3><A NAME="SECTION0004111000000000000000"> </A> <BR> 3.1.11 Revoked objects </H3> <P> Revoked objects have the following methods: <P> <dl><dt><b><a name='l2h-110'><tt class='method'>all_reasons</tt></a></b>() <dd> Return a list of all supported reasons. </dl> <P> <dl><dt><b><a name='l2h-111'><tt class='method'>get_reason</tt></a></b>() <dd> Return the revocation reason as a str. Can be None, which differs from "Unspecified". </dl> <P> <dl><dt><b><a name='l2h-112'><tt class='method'>get_rev_date</tt></a></b>() <dd> Return the revocation date as a str. The string is formatted as an ASN1 GENERALIZEDTIME. </dl> <P> <dl><dt><b><a name='l2h-113'><tt class='method'>get_serial</tt></a></b>() <dd> Return a str containing a hex number of the serial of the revoked certificate. </dl> <P> <dl><dt><b><a name='l2h-114'><tt class='method'>set_reason</tt></a></b>(<var>reason</var>) <dd> Set the revocation reason. <var>reason</var> must be None or a string, but the values are limited. Spaces and case are ignored. See <tt class="method">all_reasons</tt>. </dl> <P> <dl><dt><b><a name='l2h-115'><tt class='method'>set_rev_date</tt></a></b>(<var>date</var>) <dd> Set the revocation date. The string is formatted as an ASN1 GENERALIZEDTIME. </dl> <P> <dl><dt><b><a name='l2h-116'><tt class='method'>set_serial</tt></a></b>(<var>serial</var>) <dd> <var>serial</var> is a string containing a hex number of the serial of the revoked certificate. </dl> <P> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="crl.html"><img src="previous.gif" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="openssl-crypto.html"><img src="up.gif" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="openssl-rand.html"><img src="next.gif" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Python OpenSSL Manual</td> <td><A href="contents.html"><img src="contents.gif" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A> <b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-rand.html">3.2 rand </A> <hr> <span class="release-info">Release 0.13.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>