2 from _typeshed import ReadableBuffer
3 from typing import Callable
5 from paramiko.message import Message
6 from paramiko.transport import Transport
8 if sys.version_info >= (3, 0):
9 from hashlib import _Hash
11 from hashlib import _hash as _Hash
13 c_MSG_KEXDH_INIT: bytes
14 c_MSG_KEXDH_REPLY: bytes
15 b7fffffffffffffff: bytes
16 b0000000000000000: bytes
22 hash_algo: Callable[[ReadableBuffer], _Hash]
27 def __init__(self, transport: Transport) -> None: ...
28 def start_kex(self) -> None: ...
29 def parse_next(self, ptype: int, m: Message) -> None: ...