aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-15 11:29:00 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-15 11:29:00 -0400
commit0d8583168bb2bba872708d2913002a47633362d1 (patch)
treeba4c255ff8f522c326ff5392cb3fcc44d5572fb2 /docs/hazmat/primitives/interfaces.rst
parent01cdfb209158cf77866959ed64c85a469b48e079 (diff)
downloadcryptography-0d8583168bb2bba872708d2913002a47633362d1.tar.gz
cryptography-0d8583168bb2bba872708d2913002a47633362d1.tar.bz2
cryptography-0d8583168bb2bba872708d2913002a47633362d1.zip
we don't need to doc generate in the interface
Diffstat (limited to 'docs/hazmat/primitives/interfaces.rst')
-rw-r--r--docs/hazmat/primitives/interfaces.rst16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index d39898ee..af695f07 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -112,22 +112,6 @@ Asymmetric interfaces
An `RSA`_ private key.
- .. classmethod:: generate(public_exponent, key_size, backend)
-
- Generate a new ``RSAPrivateKey`` instance using ``backend``.
-
- :param int public_exponent: The public exponent of the new key.
- Usually one of the small Fermat primes 3, 5, 17, 257, 65537. If in
- doubt you should `use 65537`_.
- :param int key_size: The length of the modulus in bits. For keys
- generated in 2014 it is strongly recommended to be
- `at least 2048`_ (See page 41). It must not be less than 512.
- Some backends may have additional limitations.
- :param backend: A
- :class:`~cryptography.hazmat.backends.interfaces.RSABackend`
- provider.
- :return: A new instance of ``RSAPrivateKey``.
-
.. method:: signer(padding, algorithm, backend)
.. versionadded:: 0.3