aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/hazmat/primitives/test_rsa.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py
index 87d39730..5b1b3658 100644
--- a/tests/hazmat/primitives/test_rsa.py
+++ b/tests/hazmat/primitives/test_rsa.py
@@ -40,11 +40,16 @@ class TestRSA(object):
assert skey.modulus
assert skey.modulus == pkey.modulus
+ assert skey.modulus == skey.n
assert skey.public_exponent == pkey.public_exponent
+ assert skey.public_exponent == skey.e
+ assert skey.private_exponent == skey.d
assert pkey.modulus
assert pkey.modulus == pkey2.modulus
+ assert pkey.modulus == pkey.n
assert pkey.public_exponent == pkey2.public_exponent
+ assert pkey.public_exponent == pkey.e
assert skey.key_size
assert skey.key_size == pkey.key_size