aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-25 22:01:20 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-25 22:10:58 -0500
commit342d2e4cd83519d80abb12de16b7d893769a7c32 (patch)
tree2893a517b7b190e6725d26585a0fc35bdb256629 /docs/hazmat
parentbf308598c2a588f67963decb69f09a2f5b8b7070 (diff)
downloadcryptography-342d2e4cd83519d80abb12de16b7d893769a7c32.tar.gz
cryptography-342d2e4cd83519d80abb12de16b7d893769a7c32.tar.bz2
cryptography-342d2e4cd83519d80abb12de16b7d893769a7c32.zip
add generate_rsa_parameters_supported to RSABackend
Diffstat (limited to 'docs/hazmat')
-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..238c2e75 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 desired.
+
+ :param int key_size: The length in bits of the modulus desired.
+
.. method:: decrypt_rsa(private_key, ciphertext, padding)
:param private_key: An instance of an