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