aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/backends/interfaces.rst10
-rw-r--r--docs/hazmat/primitives/interfaces.rst2
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 1879336f..c54340b6 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -215,11 +215,11 @@ A specific ``backend`` may provide one or more of these interfaces.
.. method:: create_rsa_signature_ctx(private_key, padding, algorithm)
- :param private_key: An instance of a
+ :param private_key: An instance of an
:class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`
provider.
- :param padding: An instance of a
+ :param padding: An instance of an
:class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
provider.
@@ -228,9 +228,9 @@ A specific ``backend`` may provide one or more of these interfaces.
provider.
:returns:
- :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricSignContext`
+ :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricSignatureContext`
- .. method:: create_rsa_verify_ctx(public_key, signature, padding, algorithm)
+ .. method:: create_rsa_verification_ctx(public_key, signature, padding, algorithm)
:param public_key: An instance of a
:class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
@@ -238,7 +238,7 @@ A specific ``backend`` may provide one or more of these interfaces.
:param bytes signature: The signature to verify.
- :param padding: An instance of a
+ :param padding: An instance of an
:class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
provider.
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index e97f40f4..6fbc61b0 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -252,7 +252,7 @@ Asymmetric Interfaces
:param bytes data: The data you wish to verify using the signature.
- .. method:: finalize()
+ .. method:: verify()
:raises cryptography.exceptions.InvalidSignature: If signature does not
validate.