(self, msg, sig, key)
| 63 | return hmac.new(op_key, msg, self.hash_alg).digest() |
| 64 | |
| 65 | def verify(self, msg, sig, key): |
| 66 | op_key = key.get_op_key("verify") |
| 67 | v_sig = hmac.new(op_key, msg, self.hash_alg).digest() |
| 68 | return hmac.compare_digest(sig, v_sig) |
| 69 | |
| 70 | |
| 71 | class RSAAlgorithm(JWSAlgorithm): |
nothing calls this directly
no test coverage detected