aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/rsa.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/hazmat/primitives/rsa.rst b/docs/hazmat/primitives/rsa.rst
index e7ec4749..4e1f8e49 100644
--- a/docs/hazmat/primitives/rsa.rst
+++ b/docs/hazmat/primitives/rsa.rst
@@ -7,16 +7,13 @@ RSA
`RSA`_ is a `public-key`_ algorithm for encrypting and signing messages.
-.. class:: RSAPrivateKey(p, q, private_exponent, dmp1, dmq1, iqmp,
- public_exponent, modulus)
+.. class:: RSAPrivateKey(p, q, private_exponent, dmp1, dmq1, iqmp, public_exponent, modulus)
.. versionadded:: 0.2
An RSA private key is required for decryption and signing of messages.
- You should use
- :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.generate`
- to generate new keys.
+ You should use :meth:`~generate` to generate new keys.
.. warning::
This method only checks a limited set of properties of its arguments.
@@ -53,6 +50,7 @@ RSA
provider.
:return: A new instance of ``RSAPrivateKey``.
+
.. class:: RSAPublicKey(public_exponent, modulus)
.. versionadded:: 0.2