~exarkun/pyopenssl/trunk

« back to all changes in this revision

Viewing changes to OpenSSL/crypto/crl.c

  • Committer: Jean-Paul Calderone
  • Date: 2011-09-11 19:49:43 UTC
  • mfrom: (156.3.22 sphinx-doc)
  • Revision ID: exarkun@divmod.com-20110911194943-ucaan2tzidk7ek5l
Convert the documentation from LaTeX/epytext to Sphinx/ReST

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
Return revoked portion of the CRL structure (by value\n\
38
38
not reference).\n\
39
39
\n\
40
 
@return: A tuple of Revoked objects.\n\
 
40
:return: A tuple of Revoked objects.\n\
41
41
";
42
42
static PyObject *
43
43
crypto_CRL_get_revoked(crypto_CRLObj *self, PyObject *args) {
84
84
static char crypto_CRL_add_revoked_doc[] = "\n\
85
85
Add a revoked (by value not reference) to the CRL structure\n\
86
86
\n\
87
 
@param cert: The new revoked.\n\
88
 
@type cert: L{X509}\n\
89
 
@return: None\n\
 
87
:param cert: The new revoked.\n\
 
88
:type cert: :class:`X509`\n\
 
89
:return: None\n\
90
90
";
91
91
static PyObject *
92
92
crypto_CRL_add_revoked(crypto_CRLObj *self, PyObject *args, PyObject *keywds) {
112
112
static char crypto_CRL_export_doc[] = "\n\
113
113
export(cert, key[, type[, days]]) -> export a CRL as a string\n\
114
114
\n\
115
 
@param cert: Used to sign CRL.\n\
116
 
@type cert: L{X509}\n\
117
 
@param key: Used to sign CRL.\n\
118
 
@type key: L{PKey}\n\
119
 
@param type: The export format, either L{FILETYPE_PEM}, L{FILETYPE_ASN1}, or L{FILETYPE_TEXT}.\n\
120
 
@param days: The number of days until the next update of this CRL.\n\
121
 
@type days: L{int}\n\
122
 
@return: L{str}\n\
 
115
:param cert: Used to sign CRL.\n\
 
116
:type cert: :class:`X509`\n\
 
117
:param key: Used to sign CRL.\n\
 
118
:type key: :class:`PKey`\n\
 
119
:param type: The export format, either :py:data:`FILETYPE_PEM`, :py:data:`FILETYPE_ASN1`, or :py:data:`FILETYPE_TEXT`.\n\
 
120
:param days: The number of days until the next update of this CRL.\n\
 
121
:type days: :py:data:`int`\n\
 
122
:return: :py:data:`str`\n\
123
123
";
124
124
static PyObject *
125
125
crypto_CRL_export(crypto_CRLObj *self, PyObject *args, PyObject *keywds) {
223
223
\n\
224
224
Create a new empty CRL object.\n\
225
225
\n\
226
 
@returns: The CRL object\n\
 
226
:returns: The CRL object\n\
227
227
";
228
228
 
229
229
static PyObject* crypto_CRL_new(PyTypeObject *subtype, PyObject *args, PyObject *kwargs) {