1 from cryptography.hazmat.backends.interfaces import HMACBackend
2 from cryptography.hazmat.primitives.hashes import HashAlgorithm
5 def __init__(self, key: bytes, algorithm: HashAlgorithm, backend: HMACBackend | None = ...) -> None: ...
6 def copy(self) -> HMAC: ...
7 def finalize(self) -> bytes: ...
8 def update(self, msg: bytes) -> None: ...
9 def verify(self, signature: bytes) -> None: ...