aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-18 13:17:53 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-18 13:17:53 -0600
commitdd3780a0e516b2c07e02f5b3afc02a79bfe44c6f (patch)
treed66ded0dce772f5d398ab9fa4504026865b643d7 /docs/hazmat
parenteda558ce9ffca610ee628884041832da4afb7645 (diff)
downloadcryptography-dd3780a0e516b2c07e02f5b3afc02a79bfe44c6f.tar.gz
cryptography-dd3780a0e516b2c07e02f5b3afc02a79bfe44c6f.tar.bz2
cryptography-dd3780a0e516b2c07e02f5b3afc02a79bfe44c6f.zip
some grammar fixes, rename a method or two
Diffstat (limited to 'docs/hazmat')
-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.