(self, sha_type)
| 81 | SHA512 = hashes.SHA512 |
| 82 | |
| 83 | def __init__(self, sha_type): |
| 84 | self.name = f"RS{sha_type}" |
| 85 | self.description = f"RSASSA-PKCS1-v1_5 using SHA-{sha_type}" |
| 86 | self.hash_alg = getattr(self, f"SHA{sha_type}") |
| 87 | self.padding = padding.PKCS1v15() |
| 88 | |
| 89 | def prepare_key(self, raw_data): |
| 90 | return RSAKey.import_key(raw_data) |
nothing calls this directly
no outgoing calls
no test coverage detected