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