diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-24 08:31:42 -0600 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-24 08:31:42 -0600 |
| commit | 368b1c9a6946feed7677d6ab939e064f91a538e9 (patch) | |
| tree | 51b6e11bdaf94bb429bb141b288007a4726cc4b0 /cryptography | |
| parent | e2a22f8c123600126a0200ee4b86e14cb426f9a1 (diff) | |
| parent | 1e0de6857b85cd43865ed4dd4ca155cf66c7129b (diff) | |
| download | cryptography-368b1c9a6946feed7677d6ab939e064f91a538e9.tar.gz cryptography-368b1c9a6946feed7677d6ab939e064f91a538e9.tar.bz2 cryptography-368b1c9a6946feed7677d6ab939e064f91a538e9.zip | |
Merge pull request #1132 from public/opaque-dsa-interfaces
Remove numbers from DSA interfaces
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 62 |
1 files changed, 1 insertions, 61 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index c375ce9a..ef8640c2 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -251,49 +251,7 @@ class RSAPublicKeyWithNumbers(RSAPublicKey): @six.add_metaclass(abc.ABCMeta) class DSAParameters(object): - @abc.abstractproperty - def modulus(self): - """ - 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 and used in the DSA signing and verification - processes. - """ - - @abc.abstractproperty - def generator(self): - """ - The generator that is used in generating the DSA keypair and used - in the DSA signing and verification processes. - """ - - @abc.abstractproperty - def p(self): - """ - 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 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 and used - in the DSA signing and verification processes. Alias for generator. - """ + pass @six.add_metaclass(abc.ABCMeta) @@ -319,18 +277,6 @@ class DSAPrivateKey(object): The DSAPublicKey associated with this private key. """ - @abc.abstractproperty - def x(self): - """ - The private key "x" in the DSA structure. - """ - - @abc.abstractproperty - def y(self): - """ - The public key. - """ - @abc.abstractmethod def parameters(self): """ @@ -355,12 +301,6 @@ class DSAPublicKey(object): The bit length of the prime modulus. """ - @abc.abstractproperty - def y(self): - """ - The public key. - """ - @abc.abstractmethod def parameters(self): """ |
