aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-05-23 21:31:51 +0100
committerAlex Stapleton <alexs@prol.etari.at>2014-05-23 21:31:51 +0100
commit33c9d838bcc9ed04d184bf86702499aed6faceab (patch)
tree89baef749841e38705ef63aa3c52ddde3c94ba9f /cryptography
parenta264eccab51b57422b99bd12d58a3f2a3f15ac1c (diff)
downloadcryptography-33c9d838bcc9ed04d184bf86702499aed6faceab.tar.gz
cryptography-33c9d838bcc9ed04d184bf86702499aed6faceab.tar.bz2
cryptography-33c9d838bcc9ed04d184bf86702499aed6faceab.zip
Make EC key interfaces backend specific
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/primitives/interfaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index 76d7e688..0dd1d01a 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -518,7 +518,7 @@ class EllipticCurveSignatureAlgorithm(object):
@six.add_metaclass(abc.ABCMeta)
class EllipticCurvePrivateKey(object):
@abc.abstractmethod
- def signer(self, signature_algorithm, backend):
+ def signer(self, signature_algorithm):
"""
Returns an AsymmetricSignatureContext used for signing data.
"""
@@ -539,7 +539,7 @@ class EllipticCurvePrivateKey(object):
@six.add_metaclass(abc.ABCMeta)
class EllipticCurvePublicKey(object):
@abc.abstractmethod
- def verifier(self, signature, signature_algorithm, backend):
+ def verifier(self, signature, signature_algorithm):
"""
Returns an AsymmetricVerificationContext used for signing data.
"""