diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-02 13:36:08 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-02 13:36:08 -0800 |
commit | c6155ce2a37ca0b1dca426913ae9a5eb9c80fef0 (patch) | |
tree | 9d523d2b3df08e3aba141968aaf0426ad8953d44 /cryptography | |
parent | 7cbdf01af18d361ab4deb6793897b866495461e8 (diff) | |
parent | ee3e6bf35d482df4af4b7fdf9804df71e62d4717 (diff) | |
download | cryptography-c6155ce2a37ca0b1dca426913ae9a5eb9c80fef0.tar.gz cryptography-c6155ce2a37ca0b1dca426913ae9a5eb9c80fef0.tar.bz2 cryptography-c6155ce2a37ca0b1dca426913ae9a5eb9c80fef0.zip |
Merge pull request #548 from public/rename-key-length
Rename RSAs key_length to key_size
Diffstat (limited to 'cryptography')
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index 1a27644f..4fa24570 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -185,7 +185,7 @@ class RSAPrivateKey(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractproperty - def key_length(self): + def key_size(self): """ The bit length of the public modulus. """ @@ -241,7 +241,7 @@ class RSAPublicKey(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractproperty - def key_length(self): + def key_size(self): """ The bit length of the public modulus. """ |