massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / cmac.pyi
1 from cryptography.hazmat.backends.interfaces import CMACBackend
2 from cryptography.hazmat.primitives.ciphers import BlockCipherAlgorithm
3
4 class CMAC(object):
5     def __init__(self, algorithm: BlockCipherAlgorithm, backend: CMACBackend | None = ...) -> None: ...
6     def copy(self) -> CMAC: ...
7     def finalize(self) -> bytes: ...
8     def update(self, data: bytes) -> None: ...
9     def verify(self, signature: bytes) -> None: ...