aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-04-30 15:50:26 -0700
committerDavid Reid <dreid@dreid.org>2014-04-30 15:50:26 -0700
commit483df727eee61d9ab9dcbcd534ff41559e819714 (patch)
tree5e88a36d9d1747b9499e298d9f47f8338e969f2f /docs/hazmat/primitives/asymmetric
parent716b6bc323e1bc1b39614ebaf880ae5c32102a3b (diff)
downloadcryptography-483df727eee61d9ab9dcbcd534ff41559e819714.tar.gz
cryptography-483df727eee61d9ab9dcbcd534ff41559e819714.tar.bz2
cryptography-483df727eee61d9ab9dcbcd534ff41559e819714.zip
Rewrite some descriptions to not be self-referential and rewrite the private numbers description to be a little bit scary.
Diffstat (limited to 'docs/hazmat/primitives/asymmetric')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index 34e15a73..de7ad4bc 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -333,8 +333,7 @@ RSA
.. versionadded:: 0.5
- An RSAPublicNumbers instance represents the constituent parts of an
- RSA Public key as integers.
+ The colleciton of integers that make up an RSA public key.
.. attribute:: n
@@ -353,8 +352,15 @@ RSA
.. versionadded:: 0.5
- An RSAPrivateNumbers instance represents the constituent parts of an
- RSA Private key as integers.
+ The collection of integers that make up an RSA private key.
+
+ .. warning::
+
+ With the exception of the integers contained in the
+ :class:`RSAPublicNumbers` returned by the :meth:`public_numbers`
+ method, all attributes of this class must be kept secret. Revealing
+ them will compromise the security of any cryptographic operations
+ performed with a key derived from them.
.. method:: public_numbers()