aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-01 11:33:22 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-01 11:55:13 -0500
commit21babbb5001cd98ed9dfbc458cbf376223ab6588 (patch)
tree56dfa3d415641b08b6ecb6c08bb7eba6add37138 /docs/hazmat/backends/interfaces.rst
parent7c5f131417049120c968fc047ef63cb25d245d2d (diff)
downloadcryptography-21babbb5001cd98ed9dfbc458cbf376223ab6588.tar.gz
cryptography-21babbb5001cd98ed9dfbc458cbf376223ab6588.tar.bz2
cryptography-21babbb5001cd98ed9dfbc458cbf376223ab6588.zip
updates for review feedback
Diffstat (limited to 'docs/hazmat/backends/interfaces.rst')
-rw-r--r--docs/hazmat/backends/interfaces.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 3b3d5eff..6833f221 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -351,7 +351,8 @@ A specific ``backend`` may provide one or more of these interfaces.
:class:`~cryptography.hazmat.primitives.interfaces.DSAPublicKey`
provider.
- :param bytes signature: The signature to verify.
+ :param bytes signature: The signature to verify. DER encoded as
+ specified in :rfc:`6979`.
:param algorithm: An instance of a
:class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
@@ -369,14 +370,16 @@ 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):
+ .. method:: dsa_parameters_supported(p, q, g):
: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``.
+ :param int g: The g value of a DSA key.
+
+ :returns: ``True`` if the given values of ``p``, ``q``, and ``g`` are
+ supported by this backend, otherwise ``False``.
.. class:: CMACBackend