massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / ciphers / aead.pyi
1 class AESCCM(object):
2     def __init__(self, key: bytes, tag_length: int | None) -> None: ...
3     def decrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
4     def encrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
5     @classmethod
6     def generate_key(cls, bit_length: int) -> bytes: ...
7
8 class AESGCM(object):
9     def __init__(self, key: bytes) -> None: ...
10     def decrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
11     def encrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
12     @classmethod
13     def generate_key(cls, bit_length: int) -> bytes: ...
14
15 class ChaCha20Poly1305(object):
16     def __init__(self, key: bytes) -> None: ...
17     def decrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
18     def encrypt(self, nonce: bytes, data: bytes, associated_data: bytes | None) -> bytes: ...
19     @classmethod
20     def generate_key(cls) -> bytes: ...