aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-05-01 22:52:34 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-05-01 22:52:34 -0700
commitc7f3d9723d7512a95f5d9b56d7c02156df04936c (patch)
tree465162cd2b9c8cabc1a4459b31e488ef84c45dee /docs/hazmat/backends
parent8c977a3bac7476b1d8a59c42bc96cf7ad08f430e (diff)
parent262e0051ce6d51ab4937f8da99e850d9e403572a (diff)
downloadcryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.tar.gz
cryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.tar.bz2
cryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.zip
Merge pull request #991 from reaperhulk/dsa-sign
DSA signing support
Diffstat (limited to 'docs/hazmat/backends')
-rw-r--r--docs/hazmat/backends/interfaces.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 6833f221..f363b541 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -345,6 +345,19 @@ A specific ``backend`` may provide one or more of these interfaces.
1.0.0 and the key size is larger than 1024; older OpenSSL versions
do not support keys larger than 1024 bits.
+ .. method:: create_dsa_signature_ctx(private_key, algorithm)
+
+ :param private_key: An instance of a
+ :class:`~cryptography.hazmat.primitives.interfaces.DSAPrivateKey`
+ provider.
+
+ :param algorithm: An instance of a
+ :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
+ provider
+
+ :returns:
+ :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricSignatureContext`
+
.. method:: create_dsa_verification_ctx(public_key, signature, algorithm)
:param public_key: An instance of a