From 483df727eee61d9ab9dcbcd534ff41559e819714 Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 30 Apr 2014 15:50:26 -0700 Subject: Rewrite some descriptions to not be self-referential and rewrite the private numbers description to be a little bit scary. --- docs/hazmat/primitives/asymmetric/rsa.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'docs/hazmat/primitives/asymmetric') 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() -- cgit v1.2.3