aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-30 16:32:23 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-30 16:32:23 -0500
commitb4037871574803ab8cdb59902200d2ad8a322ede (patch)
tree7f9ff68b187c26afdf4ba8f46a904ffb82b517d7
parent3cbe11a45195a4dcf6f3c385eac2965d1ab1fb72 (diff)
downloadcryptography-b4037871574803ab8cdb59902200d2ad8a322ede.tar.gz
cryptography-b4037871574803ab8cdb59902200d2ad8a322ede.tar.bz2
cryptography-b4037871574803ab8cdb59902200d2ad8a322ede.zip
add interface docs for dsa_params_supported
-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 114b993d..3b3d5eff 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -369,6 +369,15 @@ A specific ``backend`` may provide one or more of these interfaces.
:returns: ``True`` if the specified ``algorithm`` is supported by this
backend, otherwise ``False``.
+ .. method:: dsa_parameters_supported(p, q):
+
+ :param int p: The p value of a DSA key.
+
+ :param int q: The q value of a DSA key.
+
+ :returns: ``True`` if the given values of ``p`` and ``q`` are supported
+ by this backend, otherwise ``False``.
+
.. class:: CMACBackend