PEM.pyi 303 B

12345678910
  1. from typing import Tuple, Optional, Callable
  2. def encode(data: bytes,
  3. marke: str,
  4. passphrase: Optional[bytes] = ...,
  5. randfunc: Optional[Callable[[int],bytes]] = ...) -> str: ...
  6. def decode(pem_data: str,
  7. passphrase: Optional[bytes] = ...) -> Tuple[bytes, str, bool]: ...