massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / Crypto / Cipher / PKCS1_v1_5.pyi
1 from typing import Any, Union, Text\r
2 \r
3 from Crypto.PublicKey.RSA import _RSAobj\r
4 \r
5 class PKCS115_Cipher:\r
6     def __init__(self, key: _RSAobj) -> None: ...\r
7     def can_encrypt(self) -> bool: ...\r
8     def can_decrypt(self) -> bool: ...\r
9     rf = ...  # type: Any\r
10     def encrypt(self, message: Union[bytes, Text]) -> bytes: ...\r
11     def decrypt(self, ct: bytes, sentinel: Any) -> bytes: ...\r
12 \r
13 def new(key: _RSAobj) -> PKCS115_Cipher: ...\r