Debian Codegraph @

lib/Crypto/Cipher/_mode_openpgp.pyi

raw symbols SCIP
1 from types import ModuleType
2 from typing import Union, Dict
3
4 Buffer = Union[bytes, bytearray, memoryview]
5
6 __all__ = ['OpenPgpMode']
7
8 class OpenPgpMode(object):
9 block_size: int
10 iv: Union[bytes, bytearray, memoryview]
11 IV: Union[bytes, bytearray, memoryview]
12
13 def __init__(self,
14 factory: ModuleType,
15 key: Buffer,
16 iv: Buffer,
17 cipher_params: Dict) -> None: ...
18 def encrypt(self, plaintext: Buffer) -> bytes: ...
19 def decrypt(self, plaintext: Buffer) -> bytes: ...
20