reason codes for CRL
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index d43ad96..c7d3a6c 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -614,6 +614,15 @@
Revoked objects have the following methods:
+\begin{methoddesc}[Revoked]{all_reasons}{}
+Return a list of all supported reasons.
+\end{methoddesc}
+
+\begin{methoddesc}[Revoked]{get_reason}{}
+Return the revocation reason as a str. Can be
+None, which differs from "Unspecified".
+\end{methoddesc}
+
\begin{methoddesc}[Revoked]{get_rev_date}{}
Return the revocation date as a str.
The string is formatted as an ASN1 GENERALIZEDTIME.
@@ -623,6 +632,12 @@
Return a str containing a hex number of the serial of the revoked certificate.
\end{methoddesc}
+\begin{methoddesc}[Revoked]{set_reason}{reason}
+Set the revocation reason. \var{reason} must
+be None or a string, but the values are limited.
+Spaces and case are ignored. See \method{all_reasons}.
+\end{methoddesc}
+
\begin{methoddesc}[Revoked]{set_rev_date}{date}
Set the revocation date.
The string is formatted as an ASN1 GENERALIZEDTIME.