diff options
author | Jean-Paul Calderone <exarkun@boson> | 2008-03-25 15:20:39 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@boson> | 2008-03-25 15:20:39 -0400 |
commit | d2532d8b0d832319d49651cb8462d5f2b660048c (patch) | |
tree | c4df4c5094fabcd74d84e7f124ddca3d86df0c2d /doc/html | |
parent | a6edbf8f358c60f4db989f80a925c44716b57031 (diff) | |
download | pyopenssl-d2532d8b0d832319d49651cb8462d5f2b660048c.tar.gz |
bump version to 0.7a2
Diffstat (limited to 'doc/html')
27 files changed, 161 insertions, 155 deletions
diff --git a/doc/html/about.html b/doc/html/about.html index 3d501b0..33f5e43 100644 --- a/doc/html/about.html +++ b/doc/html/about.html @@ -96,7 +96,7 @@ border="0" height="32" <b class="navlabel">Previous:</b> <a class="sectref" href="socket-methods.html">4.3 Acessing Socket Methods</A> <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/building-unix.html b/doc/html/building-unix.html index d953017..6cb877e 100644 --- a/doc/html/building-unix.html +++ b/doc/html/building-unix.html @@ -117,7 +117,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="building.html">2 Building and Installing</A> <b class="navlabel">Next:</b> <a class="sectref" href="building-windows.html">2.2 Building the Module</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/building-windows.html b/doc/html/building-windows.html index d162dca..b323202 100644 --- a/doc/html/building-windows.html +++ b/doc/html/building-windows.html @@ -109,7 +109,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="building.html">2 Building and Installing</A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/building.html b/doc/html/building.html index a3cf876..6dfcac7 100644 --- a/doc/html/building.html +++ b/doc/html/building.html @@ -97,7 +97,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <b class="navlabel">Next:</b> <a class="sectref" href="building-unix.html">2.1 Building the Module</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/callbacks.html b/doc/html/callbacks.html index a02cfea..b891258 100644 --- a/doc/html/callbacks.html +++ b/doc/html/callbacks.html @@ -56,7 +56,7 @@ functions can block if the socket is in blocking mode, and then you want other Python threads to be able to do other things. The real trouble is if you've released the thread lock to do a potentially blocking operation, and the operation calls a callback. Then we must take the thread lock back<A NAME="tex2html6" - HREF="#foot966"><SUP>5</SUP></A>. + HREF="#foot970"><SUP>5</SUP></A>. <P> There are two solutions to the first problem, both of which are necessary. The @@ -84,7 +84,7 @@ before calling a callback. <P> <BR><HR><H4>Footnotes</H4> <DL> -<DT><A NAME="foot966">... back</A><A +<DT><A NAME="foot970">... back</A><A href="callbacks.html#tex2html6"><SUP>5</SUP></A></DT> <DD>I'm not sure why this is necessary, but otherwise I get a segmentation violation on @@ -120,7 +120,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Next:</b> <a class="sectref" href="socket-methods.html">4.3 Acessing Socket Methods</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/contents.html b/doc/html/contents.html index bd35bd2..ef00f42 100644 --- a/doc/html/contents.html +++ b/doc/html/contents.html @@ -106,7 +106,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <b class="navlabel">Next:</b> <a class="sectref" href="intro.html">1 Introduction</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/exceptions.html b/doc/html/exceptions.html index f34a333..3cf4d82 100644 --- a/doc/html/exceptions.html +++ b/doc/html/exceptions.html @@ -89,7 +89,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Next:</b> <a class="sectref" href="callbacks.html">4.2 Callbacks</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/index.html b/doc/html/index.html index 72ddcbb..ad0dfb8 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -159,7 +159,7 @@ border="0" height="32" </tr></table> <b class="navlabel">Next:</b> <a class="sectref" href="contents.html">Contents</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/internals.html b/doc/html/internals.html index ec00460..163bca9 100644 --- a/doc/html/internals.html +++ b/doc/html/internals.html @@ -96,7 +96,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <b class="navlabel">Next:</b> <a class="sectref" href="exceptions.html">4.1 Exceptions</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/intro.html b/doc/html/intro.html index 2e7b340..724ccc7 100644 --- a/doc/html/intro.html +++ b/doc/html/intro.html @@ -60,9 +60,9 @@ The M2Crypto.SSL module does implement a lot of OpenSSL's functionality but unfortunately its error handling system does not seem to be finished, especially for non-blocking I/O. I think that much of the reason for this is that M2Crypto<A NAME="tex2html1" - HREF="#foot926"><SUP>1</SUP></A> is + HREF="#foot930"><SUP>1</SUP></A> is developed using SWIG<A NAME="tex2html2" - HREF="#foot927"><SUP>2</SUP></A>. This + HREF="#foot931"><SUP>2</SUP></A>. This makes it awkward to create functions that e.g. can return both an integer and NULL since (as far as I know) you basically write C functions and SWIG makes wrapper functions that parses the Python argument list and calls your C @@ -71,12 +71,12 @@ function, and finally transforms your return value to a Python object. <P> <BR><HR><H4>Footnotes</H4> <DL> -<DT><A NAME="foot926">... M2Crypto</A><A +<DT><A NAME="foot930">... M2Crypto</A><A href="intro.html#tex2html1"><SUP>1</SUP></A></DT> <DD>See <a class="url" href="http://www.post1.com/home/ngps/m2/">http://www.post1.com/home/ngps/m2/</a> </DD> -<DT><A NAME="foot927">... SWIG</A><A +<DT><A NAME="foot931">... SWIG</A><A href="intro.html#tex2html2"><SUP>2</SUP></A></DT> <DD>See <a class="url" href="http://swig.sourceforge.net/">http://swig.sourceforge.net/</a> @@ -110,7 +110,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <b class="navlabel">Next:</b> <a class="sectref" href="building.html">2 Building and Installing</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-509ext.html b/doc/html/openssl-509ext.html index eca8b46..f1a8476 100644 --- a/doc/html/openssl-509ext.html +++ b/doc/html/openssl-509ext.html @@ -52,7 +52,7 @@ border="0" height="32" X509Extension objects currently only have one method: <P> -<dl><dt><b><a name='l2h-80'><tt class='method'>get_critical</tt></a></b>() +<dl><dt><b><a name='l2h-81'><tt class='method'>get_critical</tt></a></b>() <dd> Return the critical field of the extension object. </dl> @@ -87,7 +87,7 @@ border="0" height="32" <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-netscape-spki.html">3.1.9 NetscapeSPKI objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-connection.html b/doc/html/openssl-connection.html index da3b7ef..8d2b8da 100644 --- a/doc/html/openssl-connection.html +++ b/doc/html/openssl-connection.html @@ -51,7 +51,7 @@ border="0" height="32" Connection objects have the following methods: <P> -<dl><dt><b><a name='l2h-143'><tt class='method'>accept</tt></a></b>() +<dl><dt><b><a name='l2h-144'><tt class='method'>accept</tt></a></b>() <dd> Call the <tt class="method">accept</tt> method of the underlying socket and set up SSL on the returned socket, using the Context object supplied to this Connection object at @@ -61,20 +61,20 @@ socket's <tt class="method">accept</tt>. </dl> <P> -<dl><dt><b><a name='l2h-144'><tt class='method'>bind</tt></a></b>(<var>address</var>) +<dl><dt><b><a name='l2h-145'><tt class='method'>bind</tt></a></b>(<var>address</var>) <dd> Call the <tt class="method">bind</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-145'><tt class='method'>close</tt></a></b>() +<dl><dt><b><a name='l2h-146'><tt class='method'>close</tt></a></b>() <dd> Call the <tt class="method">close</tt> method of the underlying socket. Note: If you want correct SSL closure, you need to call the <tt class="method">shutdown</tt> method first. </dl> <P> -<dl><dt><b><a name='l2h-146'><tt class='method'>connect</tt></a></b>(<var>address</var>) +<dl><dt><b><a name='l2h-147'><tt class='method'>connect</tt></a></b>(<var>address</var>) <dd> Call the <tt class="method">connect</tt> method of the underlying socket and set up SSL on the socket, using the Context object supplied to this Connection object at @@ -82,7 +82,7 @@ creation. </dl> <P> -<dl><dt><b><a name='l2h-147'><tt class='method'>connect_ex</tt></a></b>(<var>address</var>) +<dl><dt><b><a name='l2h-148'><tt class='method'>connect_ex</tt></a></b>(<var>address</var>) <dd> Call the <tt class="method">connect_ex</tt> method of the underlying socket and set up SSL on the socket, using the Context object supplied to this Connection object at @@ -91,7 +91,7 @@ return 0, SSL won't be initialized. </dl> <P> -<dl><dt><b><a name='l2h-148'><tt class='method'>do_handshake</tt></a></b>() +<dl><dt><b><a name='l2h-149'><tt class='method'>do_handshake</tt></a></b>() <dd> Perform an SSL handshake (usually called after <tt class="method">renegotiate</tt> or one of <tt class="method">set_accept_state</tt> or <tt class="method">set_accept_state</tt>). This can raise the @@ -99,25 +99,25 @@ same exceptions as <tt class="method">send</tt> and <tt class="method">recv</tt> </dl> <P> -<dl><dt><b><a name='l2h-149'><tt class='method'>fileno</tt></a></b>() +<dl><dt><b><a name='l2h-150'><tt class='method'>fileno</tt></a></b>() <dd> Retrieve the file descriptor number for the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-150'><tt class='method'>listen</tt></a></b>(<var>backlog</var>) +<dl><dt><b><a name='l2h-151'><tt class='method'>listen</tt></a></b>(<var>backlog</var>) <dd> Call the <tt class="method">listen</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-151'><tt class='method'>get_app_data</tt></a></b>() +<dl><dt><b><a name='l2h-152'><tt class='method'>get_app_data</tt></a></b>() <dd> Retrieve application data as set by <tt class="method">set_app_data</tt>. </dl> <P> -<dl><dt><b><a name='l2h-152'><tt class='method'>get_cipher_list</tt></a></b>() +<dl><dt><b><a name='l2h-153'><tt class='method'>get_cipher_list</tt></a></b>() <dd> Retrieve the list of ciphers used by the Connection object. WARNING: This API has changed. It used to take an optional parameter and just return a string, @@ -125,44 +125,44 @@ but not it returns the entire list in one go. </dl> <P> -<dl><dt><b><a name='l2h-153'><tt class='method'>get_context</tt></a></b>() +<dl><dt><b><a name='l2h-154'><tt class='method'>get_context</tt></a></b>() <dd> Retrieve the Context object associated with this Connection. </dl> <P> -<dl><dt><b><a name='l2h-154'><tt class='method'>get_peer_certificate</tt></a></b>() +<dl><dt><b><a name='l2h-155'><tt class='method'>get_peer_certificate</tt></a></b>() <dd> Retrieve the other side's certificate (if any) </dl> <P> -<dl><dt><b><a name='l2h-155'><tt class='method'>getpeername</tt></a></b>() +<dl><dt><b><a name='l2h-156'><tt class='method'>getpeername</tt></a></b>() <dd> Call the <tt class="method">getpeername</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-156'><tt class='method'>getsockname</tt></a></b>() +<dl><dt><b><a name='l2h-157'><tt class='method'>getsockname</tt></a></b>() <dd> Call the <tt class="method">getsockname</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-157'><tt class='method'>getsockopt</tt></a></b>(<var>level, optname</var><big>[</big><var>, buflen</var><big>]</big>) +<dl><dt><b><a name='l2h-158'><tt class='method'>getsockopt</tt></a></b>(<var>level, optname</var><big>[</big><var>, buflen</var><big>]</big>) <dd> Call the <tt class="method">getsockopt</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-158'><tt class='method'>pending</tt></a></b>() +<dl><dt><b><a name='l2h-159'><tt class='method'>pending</tt></a></b>() <dd> Retrieve the number of bytes that can be safely read from the SSL buffer (<i>not</i> the underlying transport buffer). </dl> <P> -<dl><dt><b><a name='l2h-159'><tt class='method'>recv</tt></a></b>(<var>bufsize</var>) +<dl><dt><b><a name='l2h-160'><tt class='method'>recv</tt></a></b>(<var>bufsize</var>) <dd> Receive data from the Connection. The return value is a string representing the data received. The maximum amount of data to be received at once, is specified @@ -170,20 +170,20 @@ by <var>bufsize</var>. </dl> <P> -<dl><dt><b><a name='l2h-160'><tt class='method'>renegotiate</tt></a></b>() +<dl><dt><b><a name='l2h-161'><tt class='method'>renegotiate</tt></a></b>() <dd> Renegotiate the SSL session. Call this if you wish to change cipher suites or anything like that. </dl> <P> -<dl><dt><b><a name='l2h-161'><tt class='method'>send</tt></a></b>(<var>string</var>) +<dl><dt><b><a name='l2h-162'><tt class='method'>send</tt></a></b>(<var>string</var>) <dd> Send the <var>string</var> data to the Connection. </dl> <P> -<dl><dt><b><a name='l2h-162'><tt class='method'>sendall</tt></a></b>(<var>string</var>) +<dl><dt><b><a name='l2h-163'><tt class='method'>sendall</tt></a></b>(<var>string</var>) <dd> Send all of the <var>string</var> data to the Connection. This calls <tt class="method">send</tt> repeatedly until all data is sent. If an error occurs, it's impossible to tell @@ -191,40 +191,40 @@ how much data has been sent. </dl> <P> -<dl><dt><b><a name='l2h-163'><tt class='method'>set_accept_state</tt></a></b>() +<dl><dt><b><a name='l2h-164'><tt class='method'>set_accept_state</tt></a></b>() <dd> Set the connection to work in server mode. The handshake will be handled automatically by read/write. </dl> <P> -<dl><dt><b><a name='l2h-164'><tt class='method'>set_app_data</tt></a></b>(<var>data</var>) +<dl><dt><b><a name='l2h-165'><tt class='method'>set_app_data</tt></a></b>(<var>data</var>) <dd> Associate <var>data</var> with this Connection object. <var>data</var> can be retrieved later using the <tt class="method">get_app_data</tt> method. </dl> <P> -<dl><dt><b><a name='l2h-165'><tt class='method'>set_connect_state</tt></a></b>() +<dl><dt><b><a name='l2h-166'><tt class='method'>set_connect_state</tt></a></b>() <dd> Set the connection to work in client mode. The handshake will be handled automatically by read/write. </dl> <P> -<dl><dt><b><a name='l2h-166'><tt class='method'>setblocking</tt></a></b>(<var>flag</var>) +<dl><dt><b><a name='l2h-167'><tt class='method'>setblocking</tt></a></b>(<var>flag</var>) <dd> Call the <tt class="method">setblocking</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-167'><tt class='method'>setsockopt</tt></a></b>(<var>level, optname, value</var>) +<dl><dt><b><a name='l2h-168'><tt class='method'>setsockopt</tt></a></b>(<var>level, optname, value</var>) <dd> Call the <tt class="method">setsockopt</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-168'><tt class='method'>shutdown</tt></a></b>() +<dl><dt><b><a name='l2h-169'><tt class='method'>shutdown</tt></a></b>() <dd> Send the shutdown message to the Connection. Returns true if the shutdown message exchange is completed and false otherwise (in which case you call @@ -233,40 +233,40 @@ readable/writeable. </dl> <P> -<dl><dt><b><a name='l2h-169'><tt class='method'>get_shutdown</tt></a></b>() +<dl><dt><b><a name='l2h-170'><tt class='method'>get_shutdown</tt></a></b>() <dd> Get the shutdown state of the Connection. Returns a bitvector of either or both of <var>SENT_SHUTDOWN</var> and <var>RECEIVED_SHUTDOWN</var>. </dl> <P> -<dl><dt><b><a name='l2h-170'><tt class='method'>set_shutdown</tt></a></b>(<var>state</var>) +<dl><dt><b><a name='l2h-171'><tt class='method'>set_shutdown</tt></a></b>(<var>state</var>) <dd> Set the shutdown state of the Connection. <var>state</var> is a bitvector of either or both of <var>SENT_SHUTDOWN</var> and <var>RECEIVED_SHUTDOWN</var>. </dl> <P> -<dl><dt><b><a name='l2h-171'><tt class='method'>sock_shutdown</tt></a></b>(<var>how</var>) +<dl><dt><b><a name='l2h-172'><tt class='method'>sock_shutdown</tt></a></b>(<var>how</var>) <dd> Call the <tt class="method">shutdown</tt> method of the underlying socket. </dl> <P> -<dl><dt><b><a name='l2h-172'><tt class='method'>state_string</tt></a></b>() +<dl><dt><b><a name='l2h-173'><tt class='method'>state_string</tt></a></b>() <dd> Retrieve a verbose string detailing the state of the Connection. </dl> <P> -<dl><dt><b><a name='l2h-173'><tt class='method'>want_read</tt></a></b>() +<dl><dt><b><a name='l2h-174'><tt class='method'>want_read</tt></a></b>() <dd> Checks if more data has to be read from the transport layer to complete an operation. </dl> <P> -<dl><dt><b><a name='l2h-174'><tt class='method'>want_write</tt></a></b>() +<dl><dt><b><a name='l2h-175'><tt class='method'>want_write</tt></a></b>() <dd> Checks if there is data to write to the transport layer to complete an operation. @@ -302,7 +302,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="openssl-ssl.html">3.3 SSL </A> <b class="navlabel">Next:</b> <a class="sectref" href="internals.html">4 Internals</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-context.html b/doc/html/openssl-context.html index 5de8eaf..17f04f1 100644 --- a/doc/html/openssl-context.html +++ b/doc/html/openssl-context.html @@ -52,7 +52,7 @@ border="0" height="32" Context objects have the following methods: <P> -<dl><dt><b><a name='l2h-119'><tt class='method'>check_privatekey</tt></a></b>() +<dl><dt><b><a name='l2h-120'><tt class='method'>check_privatekey</tt></a></b>() <dd> Check if the private key (loaded with <tt class="method">use_privatekey<big>[</big>_file<big>]</big></tt>) matches the certificate (loaded with <tt class="method">use_certificate<big>[</big>_file<big>]</big></tt>). @@ -60,13 +60,13 @@ Returns <code>None</code> if they match, raises <tt class="exception">Error</tt> </dl> <P> -<dl><dt><b><a name='l2h-120'><tt class='method'>get_app_data</tt></a></b>() +<dl><dt><b><a name='l2h-121'><tt class='method'>get_app_data</tt></a></b>() <dd> Retrieve application data as set by <tt class="method">set_app_data</tt>. </dl> <P> -<dl><dt><b><a name='l2h-121'><tt class='method'>get_cert_store</tt></a></b>() +<dl><dt><b><a name='l2h-122'><tt class='method'>get_cert_store</tt></a></b>() <dd> Retrieve the certificate store (a X509Store object) that the context uses. This can be used to add "trusted" certificates without using the. @@ -74,61 +74,61 @@ This can be used to add "trusted" certificates without using the. </dl> <P> -<dl><dt><b><a name='l2h-122'><tt class='method'>get_timeout</tt></a></b>() +<dl><dt><b><a name='l2h-123'><tt class='method'>get_timeout</tt></a></b>() <dd> Retrieve session timeout, as set by <tt class="method">set_timeout</tt>. The default is 300 seconds. </dl> <P> -<dl><dt><b><a name='l2h-123'><tt class='method'>get_verify_depth</tt></a></b>() +<dl><dt><b><a name='l2h-124'><tt class='method'>get_verify_depth</tt></a></b>() <dd> Retrieve the Context object's verify depth, as set by <tt class="method">set_verify_depth</tt>. </dl> <P> -<dl><dt><b><a name='l2h-124'><tt class='method'>get_verify_mode</tt></a></b>() +<dl><dt><b><a name='l2h-125'><tt class='method'>get_verify_mode</tt></a></b>() <dd> Retrieve the Context object's verify mode, as set by <tt class="method">set_verify_mode</tt>. </dl> <P> -<dl><dt><b><a name='l2h-125'><tt class='method'>load_client_ca</tt></a></b>(<var>pemfile</var>) +<dl><dt><b><a name='l2h-126'><tt class='method'>load_client_ca</tt></a></b>(<var>pemfile</var>) <dd> Read a file with PEM-formatted certificates that will be sent to the client when requesting a client certificate. </dl> <P> -<dl><dt><b><a name='l2h-126'><tt class='method'>load_verify_locations</tt></a></b>(<var>pemfile</var>) +<dl><dt><b><a name='l2h-127'><tt class='method'>load_verify_locations</tt></a></b>(<var>pemfile</var>) <dd> Specify where CA certificates for verification purposes are located. These are trusted certificates. Note that the certificates have to be in PEM format. </dl> <P> -<dl><dt><b><a name='l2h-127'><tt class='method'>load_tmp_dh</tt></a></b>(<var>dhfile</var>) +<dl><dt><b><a name='l2h-128'><tt class='method'>load_tmp_dh</tt></a></b>(<var>dhfile</var>) <dd> Load parameters for Ephemeral Diffie-Hellman from <var>dhfile</var>. </dl> <P> -<dl><dt><b><a name='l2h-128'><tt class='method'>set_app_data</tt></a></b>(<var>data</var>) +<dl><dt><b><a name='l2h-129'><tt class='method'>set_app_data</tt></a></b>(<var>data</var>) <dd> Associate <var>data</var> with this Context object. <var>data</var> can be retrieved later using the <tt class="method">get_app_data</tt> method. </dl> <P> -<dl><dt><b><a name='l2h-129'><tt class='method'>set_cipher_list</tt></a></b>(<var>ciphers</var>) +<dl><dt><b><a name='l2h-130'><tt class='method'>set_cipher_list</tt></a></b>(<var>ciphers</var>) <dd> Set the list of ciphers to be used in this context. See the OpenSSL manual for more information (e.g. ciphers(1)) </dl> <P> -<dl><dt><b><a name='l2h-130'><tt class='method'>set_info_callback</tt></a></b>(<var>callback</var>) +<dl><dt><b><a name='l2h-131'><tt class='method'>set_info_callback</tt></a></b>(<var>callback</var>) <dd> Set the information callback to <var>callback</var>. This function will be called from time to time during SSL handshakes. @@ -139,14 +139,14 @@ function call. </dl> <P> -<dl><dt><b><a name='l2h-131'><tt class='method'>set_options</tt></a></b>(<var>options</var>) +<dl><dt><b><a name='l2h-132'><tt class='method'>set_options</tt></a></b>(<var>options</var>) <dd> Add SSL options. Options you have set before are not cleared! This method should be used with the <tt class="constant">OP_*</tt> constants. </dl> <P> -<dl><dt><b><a name='l2h-132'><tt class='method'>set_passwd_cb</tt></a></b>(<var>callback</var><big>[</big><var>, userdata</var><big>]</big>) +<dl><dt><b><a name='l2h-133'><tt class='method'>set_passwd_cb</tt></a></b>(<var>callback</var><big>[</big><var>, userdata</var><big>]</big>) <dd> Set the passphrase callback to <var>callback</var>. This function will be called when a private key with a passphrase is loaded. @@ -160,7 +160,7 @@ string). </dl> <P> -<dl><dt><b><a name='l2h-133'><tt class='method'>set_session_id</tt></a></b>(<var>name</var>) +<dl><dt><b><a name='l2h-134'><tt class='method'>set_session_id</tt></a></b>(<var>name</var>) <dd> Set the context <var>name</var> within which a session can be reused for this Context object. This is needed when doing session resumption, because there is @@ -169,7 +169,7 @@ no way for a stored session to know which Context object it is associated with. </dl> <P> -<dl><dt><b><a name='l2h-134'><tt class='method'>set_timeout</tt></a></b>(<var>timeout</var>) +<dl><dt><b><a name='l2h-135'><tt class='method'>set_timeout</tt></a></b>(<var>timeout</var>) <dd> Set the timeout for newly created sessions for this Context object to <var>timeout</var>. <var>timeout</var> must be given in (whole) seconds. The default @@ -178,7 +178,7 @@ SSL_CTX_set_timeout(3)). </dl> <P> -<dl><dt><b><a name='l2h-135'><tt class='method'>set_verify</tt></a></b>(<var>mode, callback</var>) +<dl><dt><b><a name='l2h-136'><tt class='method'>set_verify</tt></a></b>(<var>mode, callback</var>) <dd> Set the verification flags for this Context object to <var>mode</var> and specify that <var>callback</var> should be used for verification callbacks. <var>mode</var> @@ -193,39 +193,39 @@ and false otherwise. </dl> <P> -<dl><dt><b><a name='l2h-136'><tt class='method'>set_verify_depth</tt></a></b>(<var>depth</var>) +<dl><dt><b><a name='l2h-137'><tt class='method'>set_verify_depth</tt></a></b>(<var>depth</var>) <dd> Set the maximum depth for the certificate chain verification that shall be allowed for this Context object. </dl> <P> -<dl><dt><b><a name='l2h-137'><tt class='method'>use_certificate</tt></a></b>(<var>cert</var>) +<dl><dt><b><a name='l2h-138'><tt class='method'>use_certificate</tt></a></b>(<var>cert</var>) <dd> Use the certificate <var>cert</var> which has to be a X509 object. </dl> <P> -<dl><dt><b><a name='l2h-138'><tt class='method'>add_extra_chain_cert</tt></a></b>(<var>cert</var>) +<dl><dt><b><a name='l2h-139'><tt class='method'>add_extra_chain_cert</tt></a></b>(<var>cert</var>) <dd> Adds the certificate <var>cert</var>, which has to be a X509 object, to the certificate chain presented together with the certificate. </dl> <P> -<dl><dt><b><a name='l2h-139'><tt class='method'>use_certificate_chain_file</tt></a></b>(<var>file</var>) +<dl><dt><b><a name='l2h-140'><tt class='method'>use_certificate_chain_file</tt></a></b>(<var>file</var>) <dd> Load a certificate chain from <var>file</var> which must be PEM encoded. </dl> <P> -<dl><dt><b><a name='l2h-140'><tt class='method'>use_privatekey</tt></a></b>(<var>pkey</var>) +<dl><dt><b><a name='l2h-141'><tt class='method'>use_privatekey</tt></a></b>(<var>pkey</var>) <dd> Use the private key <var>pkey</var> which has to be a PKey object. </dl> <P> -<dl><dt><b><a name='l2h-141'><tt class='method'>use_certificate_file</tt></a></b>(<var>file</var><big>[</big><var>, format</var><big>]</big>) +<dl><dt><b><a name='l2h-142'><tt class='method'>use_certificate_file</tt></a></b>(<var>file</var><big>[</big><var>, format</var><big>]</big>) <dd> Load the first certificate found in <var>file</var>. The certificate must be in the format specified by <var>format</var>, which is either <tt class="constant">FILETYPE_PEM</tt> or @@ -233,7 +233,7 @@ format specified by <var>format</var>, which is either <tt class="constant">FILE </dl> <P> -<dl><dt><b><a name='l2h-142'><tt class='method'>use_privatekey_file</tt></a></b>(<var>file</var><big>[</big><var>, format</var><big>]</big>) +<dl><dt><b><a name='l2h-143'><tt class='method'>use_privatekey_file</tt></a></b>(<var>file</var><big>[</big><var>, format</var><big>]</big>) <dd> Load the first private key found in <var>file</var>. The private key must be in the format specified by <var>format</var>, which is either <tt class="constant">FILETYPE_PEM</tt> or @@ -270,7 +270,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="openssl-ssl.html">3.3 SSL </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-connection.html">3.3.2 Connection objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-crypto.html b/doc/html/openssl-crypto.html index bd822c5..26a150e 100644 --- a/doc/html/openssl-crypto.html +++ b/doc/html/openssl-crypto.html @@ -284,7 +284,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-x509.html">3.1.1 X509 objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-netscape-spki.html b/doc/html/openssl-netscape-spki.html index 89ce04e..2015387 100644 --- a/doc/html/openssl-netscape-spki.html +++ b/doc/html/openssl-netscape-spki.html @@ -51,31 +51,31 @@ border="0" height="32" NetscapeSPKI objects have the following methods: <P> -<dl><dt><b><a name='l2h-81'><tt class='method'>b64_encode</tt></a></b>() +<dl><dt><b><a name='l2h-82'><tt class='method'>b64_encode</tt></a></b>() <dd> Return a base64-encoded string representation of the object. </dl> <P> -<dl><dt><b><a name='l2h-82'><tt class='method'>get_pubkey</tt></a></b>() +<dl><dt><b><a name='l2h-83'><tt class='method'>get_pubkey</tt></a></b>() <dd> Return the public key of object. </dl> <P> -<dl><dt><b><a name='l2h-83'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>) +<dl><dt><b><a name='l2h-84'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>) <dd> Set the public key of the object to <var>key</var>. </dl> <P> -<dl><dt><b><a name='l2h-84'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>) +<dl><dt><b><a name='l2h-85'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>) <dd> Sign the NetscapeSPKI object using the given <var>key</var> and <var>digest_name</var>. </dl> <P> -<dl><dt><b><a name='l2h-85'><tt class='method'>verify</tt></a></b>(<var>key</var>) +<dl><dt><b><a name='l2h-86'><tt class='method'>verify</tt></a></b>(<var>key</var>) <dd> Verify the NetscapeSPKI object using the given <var>key</var>. </dl> @@ -110,7 +110,7 @@ border="0" height="32" <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.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-pkcs12.html b/doc/html/openssl-pkcs12.html index 4eb893f..1439b61 100644 --- a/doc/html/openssl-pkcs12.html +++ b/doc/html/openssl-pkcs12.html @@ -52,19 +52,19 @@ border="0" height="32" PKCS12 objects have the following methods: <P> -<dl><dt><b><a name='l2h-77'><tt class='method'>get_certificate</tt></a></b>() +<dl><dt><b><a name='l2h-78'><tt class='method'>get_certificate</tt></a></b>() <dd> Return certificate portion of the PKCS12 structure. </dl> <P> -<dl><dt><b><a name='l2h-78'><tt class='method'>get_privatekey</tt></a></b>() +<dl><dt><b><a name='l2h-79'><tt class='method'>get_privatekey</tt></a></b>() <dd> Return private key portion of the PKCS12 structure </dl> <P> -<dl><dt><b><a name='l2h-79'><tt class='method'>get_ca_certificates</tt></a></b>() +<dl><dt><b><a name='l2h-80'><tt class='method'>get_ca_certificates</tt></a></b>() <dd> Return CA certificates within the PKCS12 object as a tuple. Returns None if no CA certificates are present. @@ -100,7 +100,7 @@ border="0" height="32" <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-509ext.html">3.1.8 X509Extension objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-pkcs7.html b/doc/html/openssl-pkcs7.html index 1da7964..865e12c 100644 --- a/doc/html/openssl-pkcs7.html +++ b/doc/html/openssl-pkcs7.html @@ -52,31 +52,31 @@ border="0" height="32" PKCS7 objects have the following methods: <P> -<dl><dt><b><a name='l2h-72'><tt class='method'>type_is_signed</tt></a></b>() +<dl><dt><b><a name='l2h-73'><tt class='method'>type_is_signed</tt></a></b>() <dd> FIXME </dl> <P> -<dl><dt><b><a name='l2h-73'><tt class='method'>type_is_enveloped</tt></a></b>() +<dl><dt><b><a name='l2h-74'><tt class='method'>type_is_enveloped</tt></a></b>() <dd> FIXME </dl> <P> -<dl><dt><b><a name='l2h-74'><tt class='method'>type_is_signedAndEnveloped</tt></a></b>() +<dl><dt><b><a name='l2h-75'><tt class='method'>type_is_signedAndEnveloped</tt></a></b>() <dd> FIXME </dl> <P> -<dl><dt><b><a name='l2h-75'><tt class='method'>type_is_data</tt></a></b>() +<dl><dt><b><a name='l2h-76'><tt class='method'>type_is_data</tt></a></b>() <dd> FIXME </dl> <P> -<dl><dt><b><a name='l2h-76'><tt class='method'>get_type_name</tt></a></b>() +<dl><dt><b><a name='l2h-77'><tt class='method'>get_type_name</tt></a></b>() <dd> Get the type name of the PKCS7. </dl> @@ -111,7 +111,7 @@ border="0" height="32" <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-pkcs12.html">3.1.7 PKCS12 objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-pkey.html b/doc/html/openssl-pkey.html index cb9ecbe..686ab32 100644 --- a/doc/html/openssl-pkey.html +++ b/doc/html/openssl-pkey.html @@ -52,20 +52,20 @@ border="0" height="32" The PKey object has the following methods: <P> -<dl><dt><b><a name='l2h-69'><tt class='method'>bits</tt></a></b>() +<dl><dt><b><a name='l2h-70'><tt class='method'>bits</tt></a></b>() <dd> Return the number of bits of the key. </dl> <P> -<dl><dt><b><a name='l2h-70'><tt class='method'>generate_key</tt></a></b>(<var>type, bits</var>) +<dl><dt><b><a name='l2h-71'><tt class='method'>generate_key</tt></a></b>(<var>type, bits</var>) <dd> Generate a public/private key pair of the type <var>type</var> (one of <tt class="constant">TYPE_RSA</tt> and <tt class="constant">TYPE_DSA</tt>) with the size <var>bits</var>. </dl> <P> -<dl><dt><b><a name='l2h-71'><tt class='method'>type</tt></a></b>() +<dl><dt><b><a name='l2h-72'><tt class='method'>type</tt></a></b>() <dd> Return the type of the key. </dl> @@ -100,7 +100,7 @@ border="0" height="32" <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-pkcs7.html">3.1.6 PKCS7 objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-rand.html b/doc/html/openssl-rand.html index b3b71c8..ff8a4b1 100644 --- a/doc/html/openssl-rand.html +++ b/doc/html/openssl-rand.html @@ -56,52 +56,52 @@ This module handles the OpenSSL pseudo random number generator (PRNG) and declares the following: <P> -<dl><dt><b><a name='l2h-87'><tt class='function'>add</tt></a></b>(<var>string, entropy</var>) +<dl><dt><b><a name='l2h-88'><tt class='function'>add</tt></a></b>(<var>string, entropy</var>) <dd> Mix bytes from <var>string</var> into the PRNG state. The <var>entropy</var> argument is (the lower bound of) an estimate of how much randomness is contained in -<var>string</var>, measured in bytes. For more information, see e.g. <a class="rfc" name="rfcref-1844" +<var>string</var>, measured in bytes. For more information, see e.g. <a class="rfc" name="rfcref-1851" href="http://www.ietf.org/rfc/rfc1750.txt">RFC 1750</a>. </dl> <P> -<dl><dt><b><a name='l2h-88'><tt class='function'>egd</tt></a></b>(<var>path</var><big>[</big><var>, bytes</var><big>]</big>) +<dl><dt><b><a name='l2h-89'><tt class='function'>egd</tt></a></b>(<var>path</var><big>[</big><var>, bytes</var><big>]</big>) <dd> Query the Entropy Gathering Daemon<A NAME="tex2html3" - HREF="#foot948"><SUP>3</SUP></A> on socket <var>path</var> for <var>bytes</var> + HREF="#foot952"><SUP>3</SUP></A> on socket <var>path</var> for <var>bytes</var> bytes of random data and and uses <tt class="function">add</tt> to seed the PRNG. The default value of <var>bytes</var> is 255. </dl> <P> -<dl><dt><b><a name='l2h-89'><tt class='function'>load_file</tt></a></b>(<var>path</var><big>[</big><var>, bytes</var><big>]</big>) +<dl><dt><b><a name='l2h-90'><tt class='function'>load_file</tt></a></b>(<var>path</var><big>[</big><var>, bytes</var><big>]</big>) <dd> Read <var>bytes</var> bytes (or all of it, if <var>bytes</var> is negative) of data from the file <var>path</var> to seed the PRNG. The default value of <var>bytes</var> is -1. </dl> <P> -<dl><dt><b><a name='l2h-90'><tt class='function'>screen</tt></a></b>() +<dl><dt><b><a name='l2h-91'><tt class='function'>screen</tt></a></b>() <dd> Add the current contents of the screen to the PRNG state. Availability: Windows. </dl> <P> -<dl><dt><b><a name='l2h-91'><tt class='function'>seed</tt></a></b>(<var>string</var>) +<dl><dt><b><a name='l2h-92'><tt class='function'>seed</tt></a></b>(<var>string</var>) <dd> This is equivalent to calling <tt class="function">add</tt> with <var>entropy</var> as the length of the string. </dl> <P> -<dl><dt><b><a name='l2h-92'><tt class='function'>status</tt></a></b>() +<dl><dt><b><a name='l2h-93'><tt class='function'>status</tt></a></b>() <dd> Returns true if the PRNG has been seeded with enough data, and false otherwise. </dl> <P> -<dl><dt><b><a name='l2h-93'><tt class='function'>write_file</tt></a></b>(<var>path</var>) +<dl><dt><b><a name='l2h-94'><tt class='function'>write_file</tt></a></b>(<var>path</var>) <dd> Write a number of random bytes (currently 1024) to the file <var>path</var>. This file can then be used with <tt class="function">load_file</tt> to seed the PRNG again. @@ -110,7 +110,7 @@ file can then be used with <tt class="function">load_file</tt> to seed the PRNG <P> <BR><HR><H4>Footnotes</H4> <DL> -<DT><A NAME="foot948">... Daemon</A><A +<DT><A NAME="foot952">... Daemon</A><A href="openssl-rand.html#tex2html3"><SUP>3</SUP></A></DT> <DD>See <a class="url" href="http://www.lothar.com/tech/crypto/">http://www.lothar.com/tech/crypto/</a> @@ -145,7 +145,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-ssl.html">3.3 SSL </A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-ssl.html b/doc/html/openssl-ssl.html index 9a1b373..e3ac0bb 100644 --- a/doc/html/openssl-ssl.html +++ b/doc/html/openssl-ssl.html @@ -54,39 +54,39 @@ This module handles things specific to SSL. There are two objects defined: Context, Connection. <P> -<dl><dt><b><a name='l2h-95'><tt>SSLv2_METHOD</tt></a></b> +<dl><dt><b><a name='l2h-96'><tt>SSLv2_METHOD</tt></a></b> <dd> -<dt><b><a name='l2h-109'><tt>SSLv3_METHOD</tt></a></b><dd> -<dt><b><a name='l2h-110'><tt>SSLv23_METHOD</tt></a></b><dd> -<dt><b><a name='l2h-111'><tt>TLSv1_METHOD</tt></a></b><dd> +<dt><b><a name='l2h-110'><tt>SSLv3_METHOD</tt></a></b><dd> +<dt><b><a name='l2h-111'><tt>SSLv23_METHOD</tt></a></b><dd> +<dt><b><a name='l2h-112'><tt>TLSv1_METHOD</tt></a></b><dd> These constants represent the different SSL methods to use when creating a context object. </dl> <P> -<dl><dt><b><a name='l2h-96'><tt>VERIFY_NONE</tt></a></b> +<dl><dt><b><a name='l2h-97'><tt>VERIFY_NONE</tt></a></b> <dd> -<dt><b><a name='l2h-112'><tt>VERIFY_PEER</tt></a></b><dd> -<dt><b><a name='l2h-113'><tt>VERIFY_FAIL_IF_NO_PEER_CERT</tt></a></b><dd> +<dt><b><a name='l2h-113'><tt>VERIFY_PEER</tt></a></b><dd> +<dt><b><a name='l2h-114'><tt>VERIFY_FAIL_IF_NO_PEER_CERT</tt></a></b><dd> These constants represent the verification mode used by the Context object's <tt class="method">set_verify</tt> method. </dl> <P> -<dl><dt><b><a name='l2h-97'><tt>FILETYPE_PEM</tt></a></b> +<dl><dt><b><a name='l2h-98'><tt>FILETYPE_PEM</tt></a></b> <dd> -<dt><b><a name='l2h-114'><tt>FILETYPE_ASN1</tt></a></b><dd> +<dt><b><a name='l2h-115'><tt>FILETYPE_ASN1</tt></a></b><dd> File type constants used with the <tt class="method">use_certificate_file</tt> and <tt class="method">use_privatekey_file</tt> methods of Context objects. </dl> <P> -<dl><dt><b><a name='l2h-98'><tt>OP_SINGLE_DH_USE</tt></a></b> +<dl><dt><b><a name='l2h-99'><tt>OP_SINGLE_DH_USE</tt></a></b> <dd> -<dt><b><a name='l2h-115'><tt>OP_EPHEMERAL_RSA</tt></a></b><dd> -<dt><b><a name='l2h-116'><tt>OP_NO_SSLv2</tt></a></b><dd> -<dt><b><a name='l2h-117'><tt>OP_NO_SSLv3</tt></a></b><dd> -<dt><b><a name='l2h-118'><tt>OP_NO_TLSv1</tt></a></b><dd> +<dt><b><a name='l2h-116'><tt>OP_EPHEMERAL_RSA</tt></a></b><dd> +<dt><b><a name='l2h-117'><tt>OP_NO_SSLv2</tt></a></b><dd> +<dt><b><a name='l2h-118'><tt>OP_NO_SSLv3</tt></a></b><dd> +<dt><b><a name='l2h-119'><tt>OP_NO_TLSv1</tt></a></b><dd> Constants used with <tt class="method">set_options</tt> of Context objects. <tt class="constant">OP_SINGLE_DH_USE</tt> means to always create a new key when using ephemeral Diffie-Hellman. <tt class="constant">OP_EPHEMERAL_RSA</tt> means to always use ephemeral RSA keys @@ -97,13 +97,13 @@ handshake, but don't want to use SSLv2. </dl> <P> -<dl><dt><b><a name='l2h-99'><tt>ContextType</tt></a></b> +<dl><dt><b><a name='l2h-100'><tt>ContextType</tt></a></b> <dd> A Python type object representing the Context object type. </dl> <P> -<dl><dt><b><a name='l2h-100'><tt class='function'>Context</tt></a></b>(<var>method</var>) +<dl><dt><b><a name='l2h-101'><tt class='function'>Context</tt></a></b>(<var>method</var>) <dd> Factory function that creates a new Context object given an SSL method. The method should be <tt class="constant">SSLv2_METHOD</tt>, <tt class="constant">SSLv3_METHOD</tt>, @@ -111,21 +111,21 @@ method should be <tt class="constant">SSLv2_METHOD</tt>, <tt class="constant">SS </dl> <P> -<dl><dt><b><a name='l2h-101'><tt>ConnectionType</tt></a></b> +<dl><dt><b><a name='l2h-102'><tt>ConnectionType</tt></a></b> <dd> A Python type object representing the Connection object type. </dl> <P> -<dl><dt><b><a name='l2h-102'><tt class='function'>Connection</tt></a></b>(<var>context, socket</var>) +<dl><dt><b><a name='l2h-103'><tt class='function'>Connection</tt></a></b>(<var>context, socket</var>) <dd> Factory fucnction that creates a new Connection object given an SSL context and a socket <A NAME="tex2html5" - HREF="#foot951"><SUP>4</SUP></A> object. + HREF="#foot955"><SUP>4</SUP></A> object. </dl> <P> -<dl><dt><b>exception <a name='l2h-103'><tt class='exception'>Error</tt></a></b> +<dl><dt><b>exception <a name='l2h-104'><tt class='exception'>Error</tt></a></b> <dd> This exception is used as a base class for the other SSL-related exceptions, but may also be raised directly. @@ -139,7 +139,7 @@ for more information. </dl> <P> -<dl><dt><b>exception <a name='l2h-104'><tt class='exception'>ZeroReturnError</tt></a></b> +<dl><dt><b>exception <a name='l2h-105'><tt class='exception'>ZeroReturnError</tt></a></b> <dd> This exception matches the error return code <code>SSL_ERROR_ZERO_RETURN</code>, and is raised when the SSL Connection has been closed. In SSL 3.0 and TLS 1.0, this @@ -153,7 +153,7 @@ It may seem a little strange that this is an exception, but it does match an </dl> <P> -<dl><dt><b>exception <a name='l2h-105'><tt class='exception'>WantReadError</tt></a></b> +<dl><dt><b>exception <a name='l2h-106'><tt class='exception'>WantReadError</tt></a></b> <dd> The operation did not complete; the same I/O method should be called again later, with the same arguments. Any I/O method can lead to this since new @@ -161,13 +161,13 @@ handshakes can occur at any time. </dl> <P> -<dl><dt><b>exception <a name='l2h-106'><tt class='exception'>WantWriteError</tt></a></b> +<dl><dt><b>exception <a name='l2h-107'><tt class='exception'>WantWriteError</tt></a></b> <dd> See <tt class="exception">WantReadError</tt>. </dl> <P> -<dl><dt><b>exception <a name='l2h-107'><tt class='exception'>WantX509LookupError</tt></a></b> +<dl><dt><b>exception <a name='l2h-108'><tt class='exception'>WantX509LookupError</tt></a></b> <dd> The operation did not complete because an application callback has asked to be called again. The I/O method should be called again later, with the same @@ -176,7 +176,7 @@ callbacks in this version. </dl> <P> -<dl><dt><b>exception <a name='l2h-108'><tt class='exception'>SysCallError</tt></a></b> +<dl><dt><b>exception <a name='l2h-109'><tt class='exception'>SysCallError</tt></a></b> <dd> The <tt class="exception">SysCallError</tt> occurs when there's an I/O error and OpenSSL's error queue does not contain any information. This can mean two things: An @@ -188,7 +188,7 @@ The parameter to the exception is always a pair <code>(<var>errnum</var>, <P> <BR><HR><H4>Footnotes</H4> <DL> -<DT><A NAME="foot951">... socket</A><A +<DT><A NAME="foot955">... socket</A><A href="openssl-ssl.html#tex2html5"><SUP>4</SUP></A></DT> <DD>Actually, all that is required is an object that <i>behaves</i> like a socket, you could even use files, even though it'd be @@ -237,7 +237,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-context.html">3.3.1 Context objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-x509.html b/doc/html/openssl-x509.html index 3573c8b..ebc5b13 100644 --- a/doc/html/openssl-x509.html +++ b/doc/html/openssl-x509.html @@ -235,7 +235,7 @@ border="0" height="32" <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-x509name.html">3.1.2 X509Name objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-x509name.html b/doc/html/openssl-x509name.html index 211b7ad..2cf0351 100644 --- a/doc/html/openssl-x509name.html +++ b/doc/html/openssl-x509name.html @@ -59,52 +59,58 @@ 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> X509Name objects have the following members: <P> -<dl><dt><b><a name='l2h-56'><tt class='member'>countryName</tt></a></b> +<dl><dt><b><a name='l2h-57'><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-57'><tt class='member'>stateOrProvinceName</tt></a></b> +<dl><dt><b><a name='l2h-58'><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-58'><tt class='member'>localityName</tt></a></b> +<dl><dt><b><a name='l2h-59'><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-59'><tt class='member'>organizationName</tt></a></b> +<dl><dt><b><a name='l2h-60'><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-60'><tt class='member'>organizationalUnitName</tt></a></b> +<dl><dt><b><a name='l2h-61'><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-61'><tt class='member'>commonName</tt></a></b> +<dl><dt><b><a name='l2h-62'><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-62'><tt class='member'>emailAddress</tt></a></b> +<dl><dt><b><a name='l2h-63'><tt class='member'>emailAddress</tt></a></b> <dd> The e-mail address of the entity. </dl> @@ -139,7 +145,7 @@ border="0" height="32" <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.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-x509req.html b/doc/html/openssl-x509req.html index b2ecd26..6e69444 100644 --- a/doc/html/openssl-x509req.html +++ b/doc/html/openssl-x509req.html @@ -52,32 +52,32 @@ border="0" height="32" X509Req objects have the following methods: <P> -<dl><dt><b><a name='l2h-63'><tt class='method'>get_pubkey</tt></a></b>() +<dl><dt><b><a name='l2h-64'><tt class='method'>get_pubkey</tt></a></b>() <dd> Return a PKey object representing the public key of the certificate request. </dl> <P> -<dl><dt><b><a name='l2h-64'><tt class='method'>get_subject</tt></a></b>() +<dl><dt><b><a name='l2h-65'><tt class='method'>get_subject</tt></a></b>() <dd> Return an X509Name object representing the subject of the certificate. </dl> <P> -<dl><dt><b><a name='l2h-65'><tt class='method'>set_pubkey</tt></a></b>(<var>pkey</var>) +<dl><dt><b><a name='l2h-66'><tt class='method'>set_pubkey</tt></a></b>(<var>pkey</var>) <dd> Set the public key of the certificate request to <var>pkey</var>. </dl> <P> -<dl><dt><b><a name='l2h-66'><tt class='method'>sign</tt></a></b>(<var>pkey, digest</var>) +<dl><dt><b><a name='l2h-67'><tt class='method'>sign</tt></a></b>(<var>pkey, digest</var>) <dd> Sign the certificate request, using the key <var>pkey</var> and the message digest algorithm identified by the string <var>digest</var>. </dl> <P> -<dl><dt><b><a name='l2h-67'><tt class='method'>verify</tt></a></b>(<var>pkey</var>) +<dl><dt><b><a name='l2h-68'><tt class='method'>verify</tt></a></b>(<var>pkey</var>) <dd> Verify a certificate request using the public key <var>pkey</var>. </dl> @@ -112,7 +112,7 @@ border="0" height="32" <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-x509store.html">3.1.4 X509Store objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl-x509store.html b/doc/html/openssl-x509store.html index 2720c11..2e55e95 100644 --- a/doc/html/openssl-x509store.html +++ b/doc/html/openssl-x509store.html @@ -52,7 +52,7 @@ border="0" height="32" The X509Store object has currently just one method: <P> -<dl><dt><b><a name='l2h-68'><tt class='method'>add_cert</tt></a></b>(<var>cert</var>) +<dl><dt><b><a name='l2h-69'><tt class='method'>add_cert</tt></a></b>(<var>cert</var>) <dd> Add the certificate <var>cert</var> to the certificate store. </dl> @@ -87,7 +87,7 @@ border="0" height="32" <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-pkey.html">3.1.5 PKey objects</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/openssl.html b/doc/html/openssl.html index 14b1bdf..f2541b4 100644 --- a/doc/html/openssl.html +++ b/doc/html/openssl.html @@ -143,7 +143,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" HREF="pyOpenSSL.html">Python OpenSSL Manual</A> <b class="navlabel">Next:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/pyOpenSSL.html b/doc/html/pyOpenSSL.html index 72ddcbb..ad0dfb8 100644 --- a/doc/html/pyOpenSSL.html +++ b/doc/html/pyOpenSSL.html @@ -159,7 +159,7 @@ border="0" height="32" </tr></table> <b class="navlabel">Next:</b> <a class="sectref" href="contents.html">Contents</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> diff --git a/doc/html/socket-methods.html b/doc/html/socket-methods.html index 54da08d..edf1e24 100644 --- a/doc/html/socket-methods.html +++ b/doc/html/socket-methods.html @@ -111,7 +111,7 @@ border="0" height="32" <b class="navlabel">Up:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Next:</b> <a class="sectref" href="about.html">About this document ...</A> <hr> -<span class="release-info">Release 0.7a1.</span> +<span class="release-info">Release 0.7a2.</span> </DIV> <!--End of Navigation Panel--> |