massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / hmac.pyi
1 from cryptography.hazmat.backends.interfaces import HMACBackend
2 from cryptography.hazmat.primitives.hashes import HashAlgorithm
3
4 class HMAC(object):
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: ...