(self, tbd)
| 59 | self.key = bytes_encode(key) |
| 60 | |
| 61 | def digest(self, tbd): |
| 62 | if self.key is None: |
| 63 | raise HMACError |
| 64 | tbd = bytes_encode(tbd) |
| 65 | return hmac.new(self.key, tbd, self.hash_alg.hash_cls).digest() |
| 66 | |
| 67 | def digest_sslv3(self, tbd): |
| 68 | if self.key is None: |
nothing calls this directly
no test coverage detected