aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-26 11:47:21 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-26 11:47:21 -0600
commit0e94fbe27e3942620906b7f275fa69c55defacd5 (patch)
treef9053b3bfeedd0e6a3425b4115edea7131c79de9 /docs/hazmat
parentd527b30d2f4515ea8d2c9af7fe7317dcab276aff (diff)
downloadcryptography-0e94fbe27e3942620906b7f275fa69c55defacd5.tar.gz
cryptography-0e94fbe27e3942620906b7f275fa69c55defacd5.tar.bz2
cryptography-0e94fbe27e3942620906b7f275fa69c55defacd5.zip
make public_key an abstractmethod, update docs
Diffstat (limited to 'docs/hazmat')
-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)