aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-05-27 12:33:30 +0100
committerAlex Stapleton <alexs@prol.etari.at>2014-05-27 12:33:30 +0100
commitfd3572923816d3bf89b5a57671ce21ee9959f222 (patch)
treeea22588cb5eed062c9868888d80344613af4732c /docs
parent0323a0e474b3606b0d2f68f0cb24bc69be35eeb4 (diff)
parent1b760f1fed81f90506f776b70d2a0eb129ff27b7 (diff)
downloadcryptography-fd3572923816d3bf89b5a57671ce21ee9959f222.tar.gz
cryptography-fd3572923816d3bf89b5a57671ce21ee9959f222.tar.bz2
cryptography-fd3572923816d3bf89b5a57671ce21ee9959f222.zip
Merge pull request #1080 from reaperhulk/generate-rsa-parameters
add generate_rsa_parameters_supported to RSABackend
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/backends/interfaces.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index e98b9a59..78a35cd9 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -274,6 +274,15 @@ A specific ``backend`` may provide one or more of these interfaces.
:returns: ``True`` if the specified ``padding`` is supported by this
backend, otherwise ``False``.
+ .. method:: generate_rsa_parameters_supported(public_exponent, key_size)
+
+ Check if the specified parameters are supported for key generation by
+ the backend.
+
+ :param int public_exponent: The public exponent.
+
+ :param int key_size: The bit length of the generated modulus.
+
.. method:: decrypt_rsa(private_key, ciphertext, padding)
:param private_key: An instance of an