aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-06-14 10:03:19 +0100
committerAlex Stapleton <alexs@prol.etari.at>2014-06-14 10:03:19 +0100
commit1e0de6857b85cd43865ed4dd4ca155cf66c7129b (patch)
tree0918c2037c5df7965053f67a793007b4fecb6c79 /cryptography
parentc6d202ed4becfcad6c1aacc3e274e00f83352a40 (diff)
downloadcryptography-1e0de6857b85cd43865ed4dd4ca155cf66c7129b.tar.gz
cryptography-1e0de6857b85cd43865ed4dd4ca155cf66c7129b.tar.bz2
cryptography-1e0de6857b85cd43865ed4dd4ca155cf66c7129b.zip
Remove numbers from DSA interfaces
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/primitives/interfaces.py62
1 files changed, 1 insertions, 61 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index 682a36da..c6dc1251 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -237,49 +237,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)
@@ -296,18 +254,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):
"""
@@ -323,12 +269,6 @@ class DSAPublicKey(object):
The bit length of the prime modulus.
"""
- @abc.abstractproperty
- def y(self):
- """
- The public key.
- """
-
@abc.abstractmethod
def parameters(self):
"""