diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-05-23 21:31:51 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-05-23 21:31:51 +0100 |
commit | 33c9d838bcc9ed04d184bf86702499aed6faceab (patch) | |
tree | 89baef749841e38705ef63aa3c52ddde3c94ba9f /cryptography | |
parent | a264eccab51b57422b99bd12d58a3f2a3f15ac1c (diff) | |
download | cryptography-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.py | 4 |
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. """ |