You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
303 B
11 lines
303 B
5 years ago
|
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]: ...
|