diff options
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index ee54aafe..4d9e7879 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -341,12 +341,6 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): The bit length of the prime modulus. """ - @abc.abstractproperty - def priv_key(self): - """ - The private key in the DSA structure. - """ - @abc.abstractmethod def public_key(self): """ @@ -354,6 +348,12 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractproperty + def x(self): + """ + The private key "x" in the DSA structure. + """ + + @abc.abstractproperty def y(self): """ The integer value of y. @@ -368,9 +368,9 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)): class DSAPublicKey(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty - def pub_key(self): + def y(self): """ - The pub_key that's in the DSA structure. + The integer value of y. """ @abc.abstractproperty |