regenerate docs
diff --git a/doc/html/callbacks.html b/doc/html/callbacks.html
index 22fa4e6..50c15c9 100644
--- a/doc/html/callbacks.html
+++ b/doc/html/callbacks.html
@@ -56,7 +56,7 @@
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="#foot960"><SUP>5</SUP></A>.
+ HREF="#foot962"><SUP>5</SUP></A>.
<P>
There are two solutions to the first problem, both of which are necessary. The
@@ -84,7 +84,7 @@
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
-<DT><A NAME="foot960">... back</A><A
+<DT><A NAME="foot962">... 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
diff --git a/doc/html/intro.html b/doc/html/intro.html
index c21a522..2831a20 100644
--- a/doc/html/intro.html
+++ b/doc/html/intro.html
@@ -60,9 +60,9 @@
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="#foot920"><SUP>1</SUP></A> is
+ HREF="#foot922"><SUP>1</SUP></A> is
developed using SWIG<A NAME="tex2html2"
- HREF="#foot921"><SUP>2</SUP></A>. This
+ HREF="#foot923"><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 @@
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
-<DT><A NAME="foot920">... M2Crypto</A><A
+<DT><A NAME="foot922">... 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="foot921">... SWIG</A><A
+<DT><A NAME="foot923">... 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>
diff --git a/doc/html/openssl-rand.html b/doc/html/openssl-rand.html
index d16c9d1..3f4fabe 100644
--- a/doc/html/openssl-rand.html
+++ b/doc/html/openssl-rand.html
@@ -60,7 +60,7 @@
<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-1833"
+<var>string</var>, measured in bytes. For more information, see e.g. <a class="rfc" name="rfcref-1835"
href="http://www.ietf.org/rfc/rfc1750.txt">RFC 1750</a>.
</dl>
@@ -68,7 +68,7 @@
<dl><dt><b><a name='l2h-87'><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="#foot942"><SUP>3</SUP></A> on socket <var>path</var> for <var>bytes</var>
+ HREF="#foot944"><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>
@@ -110,7 +110,7 @@
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
-<DT><A NAME="foot942">... Daemon</A><A
+<DT><A NAME="foot944">... 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>
diff --git a/doc/html/openssl-ssl.html b/doc/html/openssl-ssl.html
index 4fd77e4..616f141 100644
--- a/doc/html/openssl-ssl.html
+++ b/doc/html/openssl-ssl.html
@@ -121,7 +121,7 @@
<dd>
Factory fucnction that creates a new Connection object given an SSL context and
a socket <A NAME="tex2html5"
- HREF="#foot945"><SUP>4</SUP></A> object.
+ HREF="#foot947"><SUP>4</SUP></A> object.
</dl>
<P>
@@ -188,7 +188,7 @@
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
-<DT><A NAME="foot945">... socket</A><A
+<DT><A NAME="foot947">... 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
diff --git a/doc/html/openssl-x509.html b/doc/html/openssl-x509.html
index 8787e04..58f455b 100644
--- a/doc/html/openssl-x509.html
+++ b/doc/html/openssl-x509.html
@@ -91,6 +91,7 @@
YYYYMMDDhhmmss+hhmm
YYYYMMDDhhmmss-hhmm
</pre></dl>
+If no value exists for this field, <code>None</code> is returned.
</dl>
<P>
@@ -103,6 +104,7 @@
YYYYMMDDhhmmss+hhmm
YYYYMMDDhhmmss-hhmm
</pre></dl>
+If no value exists for this field, <code>None</code> is returned.
</dl>
<P>
diff --git a/doc/pyOpenSSL.ps b/doc/pyOpenSSL.ps
index 7863870..6511500 100644
--- a/doc/pyOpenSSL.ps
+++ b/doc/pyOpenSSL.ps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.96.1 Copyright 2007 Radical Eye Software
%%Title: pyOpenSSL.dvi
-%%CreationDate: Sun Mar 9 20:36:21 2008
+%%CreationDate: Sun Mar 9 21:47:34 2008
%%Pages: 15
%%PageOrder: Ascend
%%BoundingBox: 0 0 595 842
@@ -10,7 +10,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -N0 -o pyOpenSSL.ps pyOpenSSL
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2008.03.09:2036
+%DVIPSSource: TeX output 2008.03.09:2147
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -4834,21 +4834,25 @@
(the)g(certi\034cate)f(is)g(not)h(v)-5 b(alid.)37 b(The)26
b(string)g(is)h(formatted)f(as)g(an)208 2732 y(ASN1)h(GENERALIZEDTIME:)
1110 2956 y Fj(YYYYMMDDhhmmssZ)1110 3048 y(YYYYMMDDhhmmss+hhmm)1110
-3139 y(YYYYMMDDhhmmss-hhmm)0 3343 y Fm(get_notAfter\(\))208
-3443 y Fr(Return)i(a)g(string)g(giving)g(the)g(time)h(after)f(whic)n(h)
-h(the)g(certi\034cate)e(is)i(not)f(v)-5 b(alid.)43 b(The)29
-b(string)g(is)g(formatted)h(as)e(an)208 3543 y(ASN1)f(GENERALIZEDTIME:)
-1110 3767 y Fj(YYYYMMDDhhmmssZ)1110 3858 y(YYYYMMDDhhmmss+hhmm)1110
-3949 y(YYYYMMDDhhmmss-hhmm)0 4154 y Fm(set_notBefore\()p
-Fd(when)6 b Fm(\))208 4254 y Fr(Change)35 b(the)i(time)f(b)r(efore)g
-(whic)n(h)g(the)h(certi\034cate)f(is)g(not)g(v)-5 b(alid.)63
-b Fd(when)43 b Fr(is)36 b(a)g(string)f(formatted)h(as)g(an)g(ASN1)208
-4353 y(GENERALIZEDTIME:)1110 4577 y Fj(YYYYMMDDhhmmssZ)1110
-4669 y(YYYYMMDDhhmmss+hhmm)1110 4760 y(YYYYMMDDhhmmss-hhmm)0
-4965 y Fm(set_notAfter\()p Fd(when)6 b Fm(\))208 5064
+3139 y(YYYYMMDDhhmmss-hhmm)208 3296 y Fr(If)h(no)f(v)-5
+b(alue)27 b(exists)g(for)g(this)h(\034eld,)g Fm(None)e
+Fr(is)i(returned.)0 3443 y Fm(get_notAfter\(\))208 3542
+y Fr(Return)h(a)g(string)g(giving)g(the)g(time)h(after)f(whic)n(h)h
+(the)g(certi\034cate)e(is)i(not)f(v)-5 b(alid.)43 b(The)29
+b(string)g(is)g(formatted)h(as)e(an)208 3642 y(ASN1)f(GENERALIZEDTIME:)
+1110 3866 y Fj(YYYYMMDDhhmmssZ)1110 3957 y(YYYYMMDDhhmmss+hhmm)1110
+4049 y(YYYYMMDDhhmmss-hhmm)208 4205 y Fr(If)h(no)f(v)-5
+b(alue)27 b(exists)g(for)g(this)h(\034eld,)g Fm(None)e
+Fr(is)i(returned.)0 4352 y Fm(set_notBefore\()p Fd(when)6
+b Fm(\))208 4452 y Fr(Change)35 b(the)i(time)f(b)r(efore)g(whic)n(h)g
+(the)h(certi\034cate)f(is)g(not)g(v)-5 b(alid.)63 b Fd(when)43
+b Fr(is)36 b(a)g(string)f(formatted)h(as)g(an)g(ASN1)208
+4552 y(GENERALIZEDTIME:)1110 4776 y Fj(YYYYMMDDhhmmssZ)1110
+4867 y(YYYYMMDDhhmmss+hhmm)1110 4958 y(YYYYMMDDhhmmss-hhmm)0
+5163 y Fm(set_notAfter\()p Fd(when)6 b Fm(\))208 5263
y Fr(Change)38 b(the)h(time)h(after)e(whic)n(h)h(the)h(certi\034cate)e
(is)h(not)g(v)-5 b(alid.)71 b Fd(when)46 b Fr(is)39 b(a)g(string)f
-(formatted)h(as)f(an)h(ASN1)208 5164 y(GENERALIZEDTIME:)p
+(formatted)h(as)f(an)h(ASN1)208 5362 y(GENERALIZEDTIME:)p
0 5549 3901 4 v 0 5649 a Fg(3.1)82 b Fm(crypto)25 b Fg(\026)j(Generic)g
(cryptographic)e(mo)r(dule)2234 b(5)p eop end
%%Page: 6 6
diff --git a/doc/pyOpenSSL.txt b/doc/pyOpenSSL.txt
index cd89173..fbc1fae 100644
--- a/doc/pyOpenSSL.txt
+++ b/doc/pyOpenSSL.txt
@@ -263,6 +263,8 @@
YYYYMMDDhhmmss+hhmm
YYYYMMDDhhmmss-hhmm
+ If no value exists for this field, None is returned.
+
get_notAfter()
Return a string giving the time after which the certificate is
not valid. The string is formatted as an ASN1 GENERALIZEDTIME:
@@ -271,6 +273,8 @@
YYYYMMDDhhmmss+hhmm
YYYYMMDDhhmmss-hhmm
+ If no value exists for this field, None is returned.
+
set_notBefore(when)
Change the time before which the certificate is not valid. when
is a string formatted as an ASN1 GENERALIZEDTIME: