diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-18 13:36:53 -0600 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-18 13:36:53 -0600 |
| commit | 430202dfba9a3c97abc80955752e5b9e4d430911 (patch) | |
| tree | d70645d7125c0016dce480a17c2cec2aea03f460 /cryptography | |
| parent | dd3780a0e516b2c07e02f5b3afc02a79bfe44c6f (diff) | |
| download | cryptography-430202dfba9a3c97abc80955752e5b9e4d430911.tar.gz cryptography-430202dfba9a3c97abc80955752e5b9e4d430911.tar.bz2 cryptography-430202dfba9a3c97abc80955752e5b9e4d430911.zip | |
let's try renaming everything I said I'd rename
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/backends/interfaces.py | 5 | ||||
| -rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py index e4e69f10..8d17d3ad 100644 --- a/cryptography/hazmat/backends/interfaces.py +++ b/cryptography/hazmat/backends/interfaces.py @@ -99,7 +99,8 @@ class RSABackend(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractmethod - def create_rsa_verify_ctx(self, public_key, signature, padding, algorithm): + def create_rsa_verification_ctx(self, public_key, signature, padding, algorithm): """ - Returns an object conforming to the AsymmetricVerifyContext interface. + Returns an object conforming to the AsymmetricVerificationContext + interface. """ diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index f5d301de..11696160 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -301,7 +301,7 @@ class AsymmetricSignatureContext(six.with_metaclass(abc.ABCMeta)): """ -class AsymmetricVerifyContext(six.with_metaclass(abc.ABCMeta)): +class AsymmetricVerificationContext(six.with_metaclass(abc.ABCMeta)): @abc.abstractmethod def update(self, data): """ @@ -309,7 +309,7 @@ class AsymmetricVerifyContext(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractmethod - def finalize(self): + def verify(self): """ Raises an exception if the bytes provided to update do not match the signature or the signature does not match the public key. |
