%PDF- %PDF-
Direktori : /opt/alt/python27/share/doc/alt-python27-pyOpenSSL-0.10/html/ |
Current File : //opt/alt/python27/share/doc/alt-python27-pyOpenSSL-0.10/html/openssl-x509name.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>3.1.2 X509Name objects </title> <META NAME="description" CONTENT="3.1.2 X509Name 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="next" href="openssl-x509req.html"> <LINK REL="previous" href="openssl-x509.html"> <LINK REL="up" href="openssl-crypto.html"> <LINK REL="next" href="openssl-x509req.html"> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="openssl-x509.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-x509req.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="openssl-x509.html">3.1.1 X509 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-x509req.html">3.1.3 X509Req objects</A> <br><hr> </DIV> <!--End of Navigation Panel--> <H3><A NAME="SECTION000412000000000000000"> </A> <BR> 3.1.2 X509Name objects </H3> <P> X509Name objects have the following methods: <P> <dl><dt><b><a name='l2h-55'><tt class='method'>hash</tt></a></b>() <dd> Return an integer giving the first four bytes of the MD5 digest of the DER representation of the name. </dl> <P> <dl><dt><b><a name='l2h-56'><tt class='method'>der</tt></a></b>() <dd> Return a string giving the DER representation of the name. </dl> <P> <dl><dt><b><a name='l2h-57'><tt class='method'>get_components</tt></a></b>() <dd> Return a list of two-tuples of strings giving the components of the name. </dl> <P> X509Name objects have the following members: <P> <dl><dt><b><a name='l2h-58'><tt class='member'>countryName</tt></a></b> <dd> The country of the entity. <code>C</code> may be used as an alias for <code>countryName</code>. </dl> <P> <dl><dt><b><a name='l2h-59'><tt class='member'>stateOrProvinceName</tt></a></b> <dd> The state or province of the entity. <code>ST</code> may be used as an alias for <code>stateOrProvinceName</code>� </dl> <P> <dl><dt><b><a name='l2h-60'><tt class='member'>localityName</tt></a></b> <dd> The locality of the entity. <code>L</code> may be used as an alias for <code>localityName</code>. </dl> <P> <dl><dt><b><a name='l2h-61'><tt class='member'>organizationName</tt></a></b> <dd> The organization name of the entity. <code>O</code> may be used as an alias for <code>organizationName</code>. </dl> <P> <dl><dt><b><a name='l2h-62'><tt class='member'>organizationalUnitName</tt></a></b> <dd> The organizational unit of the entity. <code>OU</code> may be used as an alias for <code>organizationalUnitName</code>. </dl> <P> <dl><dt><b><a name='l2h-63'><tt class='member'>commonName</tt></a></b> <dd> The common name of the entity. <code>CN</code> may be used as an alias for <code>commonName</code>. </dl> <P> <dl><dt><b><a name='l2h-64'><tt class='member'>emailAddress</tt></a></b> <dd> The e-mail address of the entity. </dl> <P> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="openssl-x509.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-x509req.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="openssl-x509.html">3.1.1 X509 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-x509req.html">3.1.3 X509Req objects</A> <hr> <span class="release-info">Release 0.10.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>