make public_key an abstractmethod, update docs
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index c2d4c53..02ba10e 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -110,7 +110,7 @@
An `RSA`_ private key.
- .. attribute:: public_key
+ .. method:: public_key()
:type: :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
@@ -120,13 +120,13 @@
: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 @@
: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 @@
:type: int
- The public modulus. Alias for ``n``.
+ The public modulus.
.. attribute:: key_length
@@ -185,18 +185,18 @@
: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)