diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-01 15:34:42 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-01 20:29:56 -0500 |
commit | 0b3ff3b09b71f93ec278e0da73d27b5976241721 (patch) | |
tree | 67f5c9a72068b36617e945733cfd032ec35672e7 /cryptography/hazmat/backends/interfaces.py | |
parent | 8c977a3bac7476b1d8a59c42bc96cf7ad08f430e (diff) | |
download | cryptography-0b3ff3b09b71f93ec278e0da73d27b5976241721.tar.gz cryptography-0b3ff3b09b71f93ec278e0da73d27b5976241721.tar.bz2 cryptography-0b3ff3b09b71f93ec278e0da73d27b5976241721.zip |
DSA signing support (this is mostly skeuomorf's work, credit to him)
Diffstat (limited to 'cryptography/hazmat/backends/interfaces.py')
-rw-r--r-- | cryptography/hazmat/backends/interfaces.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py index e63b079b..264c5afb 100644 --- a/cryptography/hazmat/backends/interfaces.py +++ b/cryptography/hazmat/backends/interfaces.py @@ -146,6 +146,13 @@ class DSABackend(object): """ @abc.abstractmethod + def create_dsa_signature_ctx(self, private_key, algorithm): + """ + Returns an object conforming to the AsymmetricSignatureContext + interface. + """ + + @abc.abstractmethod def create_dsa_verification_ctx(self, public_key, signature, algorithm): """ Returns an object conforming to the AsymmetricVerificationContext |