Add {s,g}et_not{Before,After}
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index 9e8376c..ec8831d 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -289,6 +289,46 @@
 Return the certificate version.
 \end{methoddesc}
 
+\begin{methoddesc}[X509]{get_notBefore}{}
+Return a string giving the time before which the certificate is not valid.  The
+string is formatted as an ASN1 GENERALIZEDTIME:
+\begin{verbatim}
+                 YYYYMMDDhhmmssZ
+                 YYYYMMDDhhmmss+hhmm
+                 YYYYMMDDhhmmss-hhmm
+\end{verbatim}
+\end{methoddesc}
+
+\begin{methoddesc}[X509]{get_notAfter}{}
+Return a string giving the time after which the certificate is not valid.  The
+string is formatted as an ASN1 GENERALIZEDTIME:
+\begin{verbatim}
+                 YYYYMMDDhhmmssZ
+                 YYYYMMDDhhmmss+hhmm
+                 YYYYMMDDhhmmss-hhmm
+\end{verbatim}
+\end{methoddesc}
+
+\begin{methoddesc}[X509]{set_notBefore}{when}
+Change the time before which the certificate is not valid.  \var{when} is a
+string formatted as an ASN1 GENERALIZEDTIME:
+\begin{verbatim}
+                 YYYYMMDDhhmmssZ
+                 YYYYMMDDhhmmss+hhmm
+                 YYYYMMDDhhmmss-hhmm
+\end{verbatim}
+\end{methoddesc}
+
+\begin{methoddesc}[X509]{set_notAfter}{when}
+Change the time after which the certificate is not valid.  \var{when} is a
+string formatted as an ASN1 GENERALIZEDTIME:
+\begin{verbatim}
+                 YYYYMMDDhhmmssZ
+                 YYYYMMDDhhmmss+hhmm
+                 YYYYMMDDhhmmss-hhmm
+\end{verbatim}
+\end{methoddesc}
+
 \begin{methoddesc}[X509]{gmtime_adj_notBefore}{time}
 Adjust the timestamp (in GMT) when the certificate starts being valid.
 \end{methoddesc}