From 6994ff0da7076ab161c91bfa5df09290faf1cec4 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 1 May 2014 12:57:35 -0700 Subject: Make public_numbers a property. --- docs/hazmat/primitives/asymmetric/rsa.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs/hazmat/primitives') diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst index 5e6037de..8c34497e 100644 --- a/docs/hazmat/primitives/asymmetric/rsa.rst +++ b/docs/hazmat/primitives/asymmetric/rsa.rst @@ -357,14 +357,16 @@ RSA .. 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. + :class:`RSAPublicNumbers` all attributes of this class must be kept + secret. Revealing them will compromise the security of any + cryptographic operations performed with a key loaded from them. - .. method:: public_numbers() + .. attribute:: public_numbers - :return: :class:`~cryptography.hazmat.primitives.rsa.RSAPublicNumbers` + :type: :class:`~cryptography.hazmat.primitives.rsa.RSAPublicNumbers` + + The :class:`RSAPublicNumbers` which makes up the RSA public key + associated with this RSA private key. .. attribute:: p -- cgit v1.2.3