diff options
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index a8956b85..bfe9c1da 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -291,20 +291,23 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty def modulus(self): """ - The prime modulus that's used in generating the DSA keypair. + The prime modulus that's used in generating the DSA keypair and used + in the DSA signing and verification processes. """ @abc.abstractproperty def subgroup_order(self): """ The subgroup order that's used in generating the DSA keypair - by the generator. + by the generator and used in the DSA signing and verification + processes. """ @abc.abstractproperty def generator(self): """ - The generator that is used in generating the DSA keypair. + The generator that is used in generating the DSA keypair and used + in the DSA signing and verification processes." """ @abc.abstractmethod @@ -316,23 +319,23 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty def p(self): """ - The prime modulus that's used in generating the DSA keypair. - Alias for modulus. + The prime modulus that's used in generating the DSA keypair and used + in the DSA signing and verification processes. Alias for modulus. """ @abc.abstractproperty def q(self): """ The subgroup order that's used in generating the DSA keypair - by the generator. - Alias for subgroup_order. + by the generator and used in the DSA signing and verification + processes. Alias for subgroup_order. """ @abc.abstractproperty def g(self): """ - The generator that is used in generating the DSA keypair. - Alias for generator. + The generator that is used in generating the DSA keypair and used + in the DSA signing and verification processes. Alias for generator. """ @@ -358,7 +361,7 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty def y(self): """ - The integer value of y. + The public key. """ @abc.abstractproperty @@ -372,7 +375,7 @@ class DSAPublicKey(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty def y(self): """ - The integer value of y. + The public key. """ @abc.abstractproperty |