aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/rsa.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-07-10 10:52:13 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-07-10 10:52:13 -0700
commitab4e90dc7d81474f38e7d9d924974eecbbd74946 (patch)
tree4b417de80f744d99a43c1341ac3497be05fa405d /docs/hazmat/primitives/asymmetric/rsa.rst
parentaa986548559f5f81ffa8e7535500bd5cead0dd6b (diff)
parentbdcca520d5a91f0b021e495782a1ff115a34c859 (diff)
downloadcryptography-ab4e90dc7d81474f38e7d9d924974eecbbd74946.tar.gz
cryptography-ab4e90dc7d81474f38e7d9d924974eecbbd74946.tar.bz2
cryptography-ab4e90dc7d81474f38e7d9d924974eecbbd74946.zip
Merge pull request #1248 from reaperhulk/remove-some-docs
Numbers Doc Improvements
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/rsa.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index 7250066a..a9637523 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -153,6 +153,15 @@ is unavailable.
The public exponent.
+ .. method:: public_key(backend)
+
+ :param backend: A
+ :class:`~cryptography.hazmat.backends.interfaces.RSABackend`
+ provider.
+
+ :returns: A new instance of a
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
+ provider.
.. class:: RSAPrivateNumbers(p, q, d, dmp1, dmq1, iqmp, public_numbers)
@@ -213,6 +222,16 @@ is unavailable.
A `Chinese remainder theorem`_ coefficient used to speed up RSA
operations. Calculated as: q\ :sup:`-1` mod p
+ .. method:: private_key(backend)
+
+ :param backend: A new instance of a
+ :class:`~cryptography.hazmat.backends.interfaces.RSABackend`
+ provider.
+
+ :returns: A
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`
+ provider.
+
Handling partial RSA private keys
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~