4G_module/tools/utils/python3/Crypto/IO/PEM.pyi

11 lines
303 B
Python
Raw Normal View History

2024-09-02 17:54:29 +08:00
from typing import Tuple, Optional, Callable
def encode(data: bytes,
marke: str,
passphrase: Optional[bytes] = ...,
randfunc: Optional[Callable[[int],bytes]] = ...) -> str: ...
def decode(pem_data: str,
passphrase: Optional[bytes] = ...) -> Tuple[bytes, str, bool]: ...