aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/backends/interfaces.py2
-rw-r--r--docs/hazmat/backends/interfaces.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index 73f861a4..f02890e9 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -92,7 +92,7 @@ class RSABackend(six.with_metaclass(abc.ABCMeta)):
"""
@abc.abstractmethod
- def create_rsa_sign_ctx(self, private_key, padding, algorithm):
+ def create_rsa_signature_ctx(self, private_key, padding, algorithm):
"""
Returns an object conforming to the AsymmetricSignContext interface.
"""
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 72b64910..1879336f 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -213,7 +213,7 @@ A specific ``backend`` may provide one or more of these interfaces.
:raises ValueError: If the public_exponent is not valid.
- .. method:: create_rsa_sign_ctx(private_key, padding, algorithm)
+ .. method:: create_rsa_signature_ctx(private_key, padding, algorithm)
:param private_key: An instance of a
:class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`