~exarkun/pyopenssl/trunk

« back to all changes in this revision

Viewing changes to OpenSSL/crypto/revoked.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:
26
26
static char crypto_Revoked_all_reasons_doc[] = "\n\
27
27
Return a list of all the supported reason strings.\n\
28
28
\n\
29
 
@return: A list of reason strings.\n\
 
29
:return: A list of reason strings.\n\
30
30
";
31
31
static PyObject *
32
32
crypto_Revoked_all_reasons(crypto_RevokedObj *self, PyObject *args) {
126
126
static char crypto_Revoked_set_reason_doc[] = "\n\
127
127
Set the reason of a Revoked object.\n\
128
128
\n\
129
 
@param reason: The reason string.\n\
130
 
@type reason: L{str}\n\
131
 
@return: None\n\
 
129
:param reason: The reason string.\n\
 
130
:type reason: :py:data:`str`\n\
 
131
:return: None\n\
132
132
";
133
133
static PyObject *
134
134
crypto_Revoked_set_reason(crypto_RevokedObj *self, PyObject *args, PyObject *keywds) {
176
176
static char crypto_Revoked_get_reason_doc[] = "\n\
177
177
Return the reason of a Revoked object.\n\
178
178
\n\
179
 
@return: The reason as a string\n\
 
179
:return: The reason as a string\n\
180
180
";
181
181
static PyObject *
182
182
crypto_Revoked_get_reason(crypto_RevokedObj *self, PyObject *args) {
204
204
static char crypto_Revoked_get_rev_date_doc[] = "\n\
205
205
Retrieve the revocation date\n\
206
206
\n\
207
 
@return: A string giving the timestamp, in the format:\n\
 
207
:return: A string giving the timestamp, in the format:\n\
208
208
\n\
209
209
                 YYYYMMDDhhmmssZ\n\
210
210
                 YYYYMMDDhhmmss+hhmm\n\
221
221
static char crypto_Revoked_set_rev_date_doc[] = "\n\
222
222
Set the revocation timestamp\n\
223
223
\n\
224
 
@param when: A string giving the timestamp, in the format:\n\
 
224
:param when: A string giving the timestamp, in the format:\n\
225
225
\n\
226
226
                 YYYYMMDDhhmmssZ\n\
227
227
                 YYYYMMDDhhmmss+hhmm\n\
228
228
                 YYYYMMDDhhmmss-hhmm\n\
229
229
\n\
230
 
@return: None\n\
 
230
:return: None\n\
231
231
";
232
232
 
233
233
static PyObject*
278
278
static char crypto_Revoked_get_serial_doc[] = "\n\
279
279
Return the serial number of a Revoked structure\n\
280
280
\n\
281
 
@return: The serial number as a string\n\
 
281
:return: The serial number as a string\n\
282
282
";
283
283
static PyObject *
284
284
crypto_Revoked_get_serial(crypto_RevokedObj *self, PyObject *args) {
298
298
static char crypto_Revoked_set_serial_doc[] = "\n\
299
299
Set the serial number of a revoked Revoked structure\n\
300
300
\n\
301
 
@param hex_str: The new serial number.\n\
302
 
@type hex_str: L{str}\n\
303
 
@return: None\n\
 
301
:param hex_str: The new serial number.\n\
 
302
:type hex_str: :py:data:`str`\n\
 
303
:return: None\n\
304
304
";
305
305
static PyObject *
306
306
crypto_Revoked_set_serial(crypto_RevokedObj *self, PyObject *args, PyObject *keywds) {
377
377
\n\
378
378
Create a new empty Revoked object.\n\
379
379
\n\
380
 
@returns: The Revoked object\n\
 
380
:returns: The Revoked object\n\
381
381
";
382
382
 
383
383
static PyObject* crypto_Revoked_new(PyTypeObject *subtype, PyObject *args, PyObject *kwargs) {