diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-22 10:18:38 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-22 10:18:38 -0600 |
commit | af6b64e4294c108a0ac9b9394fa0375523226727 (patch) | |
tree | 3e347ef679269640c923a2f2ab7ea915fdc15309 | |
parent | 940cb23c601bc4f49312fa75b48e881d1af3c0c9 (diff) | |
download | cryptography-af6b64e4294c108a0ac9b9394fa0375523226727.tar.gz cryptography-af6b64e4294c108a0ac9b9394fa0375523226727.tar.bz2 cryptography-af6b64e4294c108a0ac9b9394fa0375523226727.zip |
these are abstract methods
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index 71852562..dd901aae 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -212,6 +212,7 @@ class RSAPrivateKey(object): @six.add_metaclass(abc.ABCMeta) class RSAPrivateKeyWithNumbers(RSAPrivateKey): + @abc.abstractmethod def private_numbers(self): """ Returns an RSAPrivateNumbers. @@ -241,6 +242,7 @@ class RSAPublicKey(object): @six.add_metaclass(abc.ABCMeta) class RSAPublicKeyWithNumbers(RSAPublicKey): + @abc.abstractmethod def public_numbers(self): """ Returns an RSAPublicNumbers |