(self, name, curve, sha_type)
| 115 | SHA512 = hashes.SHA512 |
| 116 | |
| 117 | def __init__(self, name, curve, sha_type): |
| 118 | self.name = name |
| 119 | self.curve = curve |
| 120 | self.description = f"ECDSA using {self.curve} and SHA-{sha_type}" |
| 121 | self.hash_alg = getattr(self, f"SHA{sha_type}") |
| 122 | |
| 123 | def prepare_key(self, raw_data): |
| 124 | key = ECKey.import_key(raw_data) |
nothing calls this directly
no outgoing calls
no test coverage detected