aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/interfaces.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index c2d4c53d..02ba10e2 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -110,7 +110,7 @@ Asymmetric Interfaces
An `RSA`_ private key.
- .. attribute:: public_key
+ .. method:: public_key()
:type: :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
@@ -120,13 +120,13 @@ Asymmetric Interfaces
:type: int
- The public modulus. Alias for ``n``.
+ The public modulus.
.. attribute:: public_exponent
:type: int
- The public exponent. Alias for ``e``.
+ The public exponent.
.. attribute:: key_length
@@ -156,13 +156,13 @@ Asymmetric Interfaces
:type: int
- The public modulus.
+ The public modulus. Alias for ``modulus``.
.. attribute:: e
:type: int
- The public exponent.
+ The public exponent. Alias for ``public_exponent``.
.. class:: RSAPublicKey
@@ -173,7 +173,7 @@ Asymmetric Interfaces
:type: int
- The public modulus. Alias for ``n``.
+ The public modulus.
.. attribute:: key_length
@@ -185,18 +185,18 @@ Asymmetric Interfaces
:type: int
- The public exponent. Alias for ``e``.
+ The public exponent.
.. attribute:: n
:type: int
- The public modulus.
+ The public modulus. Alias for ``modulus``.
.. attribute:: e
:type: int
- The public exponent.
+ The public exponent. Alias for ``public_exponent``.
.. _`RSA`: http://en.wikipedia.org/wiki/RSA_(cryptosystem)