aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Attia <skeuomorf@gmail.com>2014-03-03 20:19:58 +0200
committerMohammed Attia <skeuomorf@gmail.com>2014-03-03 20:19:58 +0200
commited2172b5c21879b03fce52976d26ba899128c163 (patch)
treeb5703493dca6e75b274cf76ecbd14d340ab7443f
parent9db8dbab26d72e842ae1f5f9073a539b2795f4d5 (diff)
downloadcryptography-ed2172b5c21879b03fce52976d26ba899128c163.tar.gz
cryptography-ed2172b5c21879b03fce52976d26ba899128c163.tar.bz2
cryptography-ed2172b5c21879b03fce52976d26ba899128c163.zip
Remove bitlength related properties that are not needed
-rw-r--r--cryptography/hazmat/primitives/interfaces.py20
1 files changed, 1 insertions, 19 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index 589b7484..e81abfb7 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -309,7 +309,7 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)):
@abc.abstractmethod
def generate(self):
"""
- Generate DSAPrivateKey from the object's parameters
+ Generate DSAPrivateKey from the object's parameters.
"""
@abc.abstractproperty
@@ -342,12 +342,6 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)):
"""
@abc.abstractproperty
- def divisor_size(self):
- """
- The bit length of the divisor.
- """
-
- @abc.abstractproperty
def priv_key(self):
"""
The private key in the DSA structure.
@@ -360,18 +354,6 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)):
"""
@abc.abstractproperty
- def L(self):
- """
- The bit length of the prime modulus. Alias for modulus_length.
- """
-
- @abc.abstractproperty
- def N(self):
- """
- The bit length of the divisor. Alias for divisor_length.
- """
-
- @abc.abstractproperty
def y(self):
"""
The DSAPublicKey associated with this private key.