From ed2172b5c21879b03fce52976d26ba899128c163 Mon Sep 17 00:00:00 2001 From: Mohammed Attia Date: Mon, 3 Mar 2014 20:19:58 +0200 Subject: Remove bitlength related properties that are not needed --- cryptography/hazmat/primitives/interfaces.py | 20 +------------------- 1 file changed, 1 insertion(+), 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 @@ -341,12 +341,6 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): The bit length of the prime modulus. """ - @abc.abstractproperty - def divisor_size(self): - """ - The bit length of the divisor. - """ - @abc.abstractproperty def priv_key(self): """ @@ -359,18 +353,6 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): The DSAPublicKey associated with this private key. """ - @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): """ -- cgit v1.2.3