diff options
author | David Reid <dreid@dreid.org> | 2014-05-01 12:57:35 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-05-01 12:57:35 -0700 |
commit | 6994ff0da7076ab161c91bfa5df09290faf1cec4 (patch) | |
tree | 3def8b1e5ab1cd3c46ef1abac79f630e049d3948 /docs/hazmat/primitives | |
parent | b0f2b674640ee126d0cc63849f77c4ea480d67fd (diff) | |
download | cryptography-6994ff0da7076ab161c91bfa5df09290faf1cec4.tar.gz cryptography-6994ff0da7076ab161c91bfa5df09290faf1cec4.tar.bz2 cryptography-6994ff0da7076ab161c91bfa5df09290faf1cec4.zip |
Make public_numbers a property.
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/rsa.rst | 14 |
1 files changed, 8 insertions, 6 deletions
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 |