aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/IO/PEM.pyi
blob: 2e324c450960603e6bca7867d5540f155b944cb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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]: ...