(self, private_key)
| 320 | |
| 321 | @pytest.mark.parametrize("private_key", PRIVATE_KEYS) |
| 322 | def test_get_public_key(self, private_key): |
| 323 | key = RSAKey(private_key, ALGORITHMS.RS256) |
| 324 | public_key = key.public_key() |
| 325 | public_key2 = public_key.public_key() |
| 326 | assert public_key.is_public() |
| 327 | assert public_key2.is_public() |
| 328 | assert public_key == public_key2 |
| 329 | |
| 330 | @pytest.mark.parametrize("pkey", PRIVATE_KEYS) |
| 331 | def test_to_pem(self, pkey): |
nothing calls this directly
no test coverage detected