aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:56:14 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:56:14 -0800
commit14971b7c3a1a5d43363b76506e6a3d1881d7d51f (patch)
treef52760fd7edb36e2adc3b65a7d66cb306926ce6f
parent811163e609c2df4f785473376f914d224d896f07 (diff)
downloadcryptography-14971b7c3a1a5d43363b76506e6a3d1881d7d51f.tar.gz
cryptography-14971b7c3a1a5d43363b76506e6a3d1881d7d51f.tar.bz2
cryptography-14971b7c3a1a5d43363b76506e6a3d1881d7d51f.zip
Fixed a missing word in the RSA docs
-rw-r--r--docs/hazmat/primitives/rsa.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/hazmat/primitives/rsa.rst b/docs/hazmat/primitives/rsa.rst
index a19ada33..0c7be2c2 100644
--- a/docs/hazmat/primitives/rsa.rst
+++ b/docs/hazmat/primitives/rsa.rst
@@ -8,7 +8,7 @@ RSA
`RSA`_ is a `public-key`_ algorithm for encrypting and signing messages.
.. class:: RSAPrivateKey(p, q, private_exponent, public_exponent, modulus)
-
+
.. versionadded:: 0.2
An RSA private key is required for decryption and signing of messages.
@@ -16,23 +16,23 @@ RSA
You should use
:meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.generate`
to generate new keys.
-
+
.. warning::
This method only checks a limited set of properties of its arguments.
- Using an RSA that you do not trust or with incorrect parameters may
- lead to insecure operation, crashes, and other undefined behavior. We
- recommend that you only ever load private keys that were generated with
- software you trust.
+ Using an RSA private key that you do not trust or with incorrect
+ parameters may lead to insecure operation, crashes, and other undefined
+ behavior. We recommend that you only ever load private keys that were
+ generated with software you trust.
This class conforms to the
:class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`
interface.
- :raises TypeError: This is raised when the arguments are not all integers.
+ :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
+ `private_exponent`, `public_exponent` or `modulus` do
not match the bounds specified in `RFC 3447`_.
.. classmethod:: generate(public_exponent, key_size, backend)
@@ -52,7 +52,7 @@ RSA
:return: A new instance of ``RSAPrivateKey``.
.. class:: RSAPublicKey(public_exponent, modulus)
-
+
.. versionadded:: 0.2
An RSA public key is required for encryption and verification of messages.
@@ -65,7 +65,7 @@ RSA
:class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
interface.
- :raises TypeError: This is raised when the arguments are not all integers.
+ :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