aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:57:57 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:57:57 -0800
commita9d802a8364bff9f511db28b4c57bce3498b937d (patch)
tree58cca9dc2dfdaaddd2b4031666e9e21c8d9f7c38
parent14971b7c3a1a5d43363b76506e6a3d1881d7d51f (diff)
downloadcryptography-a9d802a8364bff9f511db28b4c57bce3498b937d.tar.gz
cryptography-a9d802a8364bff9f511db28b4c57bce3498b937d.tar.bz2
cryptography-a9d802a8364bff9f511db28b4c57bce3498b937d.zip
Also clean up this syntax
-rw-r--r--docs/hazmat/primitives/rsa.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/hazmat/primitives/rsa.rst b/docs/hazmat/primitives/rsa.rst
index 0c7be2c2..2875b209 100644
--- a/docs/hazmat/primitives/rsa.rst
+++ b/docs/hazmat/primitives/rsa.rst
@@ -31,9 +31,10 @@ RSA
:raises TypeError: This is raised when the arguments are not all integers.
- :raises ValueError: This is raised when the values of `p`, `q`,
- `private_exponent`, `public_exponent` or `modulus` do
- not match the bounds specified in `RFC 3447`_.
+ :raises ValueError: This is raised when the values of ``p``, ``q``,
+ ``private_exponent``, ``public_exponent``, or
+ ``modulus`` do not match the bounds specified in
+ :rfc:`3447`.
.. classmethod:: generate(public_exponent, key_size, backend)
@@ -67,12 +68,11 @@ RSA
:raises TypeError: This is raised when the arguments are not all integers.
- :raises ValueError: This is raised when the values of `public_exponent` or
- `modulus` do not match the bounds specified in
- `RFC 3447`_.
+ :raises ValueError: This is raised when the values of ``public_exponent``
+ or ``modulus`` do not match the bounds specified in
+ :rfc:`3447`.
.. _`RSA`: https://en.wikipedia.org/wiki/RSA_(cryptosystem)
.. _`public-key`: https://en.wikipedia.org/wiki/Public-key_cryptography
-.. _`RFC 3447`: https://tools.ietf.org/html/rfc3447
.. _`use 65537`: http://www.daemonology.net/blog/2009-06-11-cryptographic-right-answers.html
.. _`at least 2048`: http://www.ecrypt.eu.org/documents/D.SPA.20.pdf