Add docs for the new X509 and X509Extension methods
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index 294008c..be32a62 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -305,6 +305,24 @@
\versionadded{0.11}
\end{funcdesc}
+\subsubsection{X509Extension objects \label{openssl-x509ext}}
+
+X509Extension objects have the following methods:
+
+\begin{methoddesc}[X509Extension]{get_short_name}{}
+Retrieve the short descriptive name for this extension.
+
+The result is a byte string like \code{``basicConstraints''}.
+\versionadded{0.12}
+\end{methoddesc}
+
+\begin{methoddesc}[X509Extension]{get_data}{}
+Retrieve the data for this extension.
+
+The result is the ASN.1 encoded form of the extension data as a byte string.
+\versionadded{0.12}
+\end{methoddesc}
+
\subsubsection{X509 objects \label{openssl-x509}}
X509 objects have the following methods:
@@ -424,6 +442,20 @@
Add the extensions in the sequence \var{extensions} to the certificate.
\end{methoddesc}
+\begin{methoddesc}[X509]{get_extension_count}{}
+Return the number of extensions on this certificate.
+\versionadded{0.12}
+\end{methoddesc}
+
+\begin{methoddesc}[X509]{get_extension}{index}
+Retrieve the extension on this certificate at the given index.
+
+Extensions on a certificate are kept in order. The index parameter selects
+which extension will be returned. The returned object will be an X509Extension
+instance.
+\versionadded{0.12}
+\end
+
\subsubsection{X509Name objects \label{openssl-x509name}}
X509Name objects have the following methods: