massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / Crypto / PublicKey / ElGamal.pyi
1 from typing import Any, Optional\r
2 \r
3 from Crypto.PublicKey.pubkey import pubkey\r
4 from Crypto.PublicKey.pubkey import *  # noqa: F403\r
5 \r
6 class error(Exception): ...\r
7 \r
8 def generate(bits, randfunc, progress_func: Optional[Any] = ...): ...\r
9 def construct(tup): ...\r
10 \r
11 class ElGamalobj(pubkey):\r
12     keydata = ...  # type: Any\r
13     def encrypt(self, plaintext, K): ...\r
14     def decrypt(self, ciphertext): ...\r
15     def sign(self, M, K): ...\r
16     def verify(self, M, signature): ...\r
17     def size(self): ...\r
18     def has_private(self): ...\r
19     def publickey(self): ...\r