aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Attia <skeuomorf@gmail.com>2014-03-04 19:17:24 +0200
committerMohammed Attia <skeuomorf@gmail.com>2014-03-04 19:17:24 +0200
commit7a1738a1b8b3da2a215f2ea3aff73a67eaaab406 (patch)
treec34c17699fc4ec2c2d17f3c6bac0d3425c51201c
parentcb9a6c24ea2165b25e4129a440871ce7bcab3de4 (diff)
downloadcryptography-7a1738a1b8b3da2a215f2ea3aff73a67eaaab406.tar.gz
cryptography-7a1738a1b8b3da2a215f2ea3aff73a67eaaab406.tar.bz2
cryptography-7a1738a1b8b3da2a215f2ea3aff73a67eaaab406.zip
Typo fixes
-rw-r--r--cryptography/hazmat/primitives/interfaces.py2
-rw-r--r--docs/hazmat/primitives/interfaces.rst14
2 files changed, 8 insertions, 8 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index a6da7db1..07e88e26 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -307,7 +307,7 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)):
def generator(self):
"""
The generator that is used in generating the DSA keypair and used
- in the DSA signing and verification processes."
+ in the DSA signing and verification processes.
"""
@abc.abstractproperty
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index c1a2d23a..d94aee83 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -241,14 +241,14 @@ Asymmetric Interfaces
:type: int
- The prime modulus that's used in generating the DSA key pair and used
+ The prime modulus that is used in generating the DSA key pair and used
in the DSA signing and verification processes.
.. attribute:: subgroup_order
:type: int
- The subgroup order that's used in generating the DSA key pair
+ The subgroup order that is used in generating the DSA key pair
by the generator and used in the DSA signing and verification
processes.
@@ -257,20 +257,20 @@ Asymmetric Interfaces
:type: int
The generator that is used in generating the DSA key pair and used
- in the DSA signing and verification processes."
+ in the DSA signing and verification processes.
.. attribute:: p
:type: int
- The prime modulus that's used in generating the DSA key pair and used
+ The prime modulus that is used in generating the DSA key pair and used
in the DSA signing and verification processes. Alias for :attr:`modulus`.
.. attribute:: q
:type: int
- The subgroup order that's used in generating the DSA key pair
+ The subgroup order that is used in generating the DSA key pair
by the generator and used in the DSA signing and verification
processes. Alias for :attr:`subgroup_order`.
@@ -286,7 +286,7 @@ Asymmetric Interfaces
.. versionadded:: 0.3
- An `DSA`_ private key.
+ A `DSA`_ private key.
.. method:: public_key()
@@ -323,7 +323,7 @@ Asymmetric Interfaces
.. versionadded:: 0.3
- An `DSA`_ private key.
+ A `DSA`_ private key.
.. method:: parameters()