diff options
| author | Alex Stapleton <alexs@prol.etari.at> | 2014-02-02 21:13:48 +0000 |
|---|---|---|
| committer | Alex Stapleton <alexs@prol.etari.at> | 2014-02-02 21:13:48 +0000 |
| commit | ee3e6bf35d482df4af4b7fdf9804df71e62d4717 (patch) | |
| tree | 63d1ee715de621ccaa4678bfbf65a480ab1e5474 /cryptography | |
| parent | b84b215af8e7669d50b7b63fb37e6854ba6f99db (diff) | |
| download | cryptography-ee3e6bf35d482df4af4b7fdf9804df71e62d4717.tar.gz cryptography-ee3e6bf35d482df4af4b7fdf9804df71e62d4717.tar.bz2 cryptography-ee3e6bf35d482df4af4b7fdf9804df71e62d4717.zip | |
Rename RSAs key_length to key_size
So that it matches the existing documented CipherContext stuff.
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. """ |
