aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-06-06 21:49:33 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-06-06 21:49:33 -0700
commitc9f525fe4740385747cebfbc394a84ebd9bd409b (patch)
tree1555805125cba72feacaaffed5cf40f7a3453fa1 /docs/hazmat/primitives
parent6df90fb03b8ccb642028ba927fa3490ff71d965a (diff)
parent0cf031cd137778228c091665785816b2c8a3ccd4 (diff)
downloadcryptography-c9f525fe4740385747cebfbc394a84ebd9bd409b.tar.gz
cryptography-c9f525fe4740385747cebfbc394a84ebd9bd409b.tar.bz2
cryptography-c9f525fe4740385747cebfbc394a84ebd9bd409b.zip
Merge pull request #1100 from reaperhulk/rsa-numbers-remove-public
Remove raw numbers properties from the RSA*Key interfaces
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r--docs/hazmat/primitives/interfaces.rst93
1 files changed, 0 insertions, 93 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index b2857f58..34e4e938 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -157,81 +157,12 @@ Asymmetric interfaces
An RSA public key object corresponding to the values of the private key.
- .. attribute:: modulus
-
- :type: int
-
- The public modulus.
-
- .. attribute:: public_exponent
-
- :type: int
-
- The public exponent.
-
- .. attribute:: private_exponent
-
- :type: int
-
- The private exponent.
-
.. attribute:: key_size
:type: int
The bit length of the modulus.
- .. attribute:: p
-
- :type: int
-
- ``p``, one of the two primes composing the :attr:`modulus`.
-
- .. attribute:: q
-
- :type: int
-
- ``q``, one of the two primes composing the :attr:`modulus`.
-
- .. attribute:: d
-
- :type: int
-
- The private exponent. Alias for :attr:`private_exponent`.
-
- .. attribute:: dmp1
-
- :type: int
-
- A `Chinese remainder theorem`_ coefficient used to speed up RSA
- operations. Calculated as: d mod (p-1)
-
- .. attribute:: dmq1
-
- :type: int
-
- A `Chinese remainder theorem`_ coefficient used to speed up RSA
- operations. Calculated as: d mod (q-1)
-
- .. attribute:: iqmp
-
- :type: int
-
- A `Chinese remainder theorem`_ coefficient used to speed up RSA
- operations. Calculated as: q\ :sup:`-1` mod p
-
- .. attribute:: n
-
- :type: int
-
- The public modulus. Alias for :attr:`modulus`.
-
- .. attribute:: e
-
- :type: int
-
- The public exponent. Alias for :attr:`public_exponent`.
-
.. class:: RSAPublicKey
@@ -281,36 +212,12 @@ Asymmetric interfaces
:return bytes: Encrypted data.
- .. attribute:: modulus
-
- :type: int
-
- The public modulus.
-
.. attribute:: key_size
:type: int
The bit length of the modulus.
- .. attribute:: public_exponent
-
- :type: int
-
- The public exponent.
-
- .. attribute:: n
-
- :type: int
-
- The public modulus. Alias for :attr:`modulus`.
-
- .. attribute:: e
-
- :type: int
-
- The public exponent. Alias for :attr:`public_exponent`.
-
.. class:: DSAParameters