from typing import Dict, Optional, Callable class PbesError(ValueError): ... class PBES1(object): @staticmethod def decrypt(data: bytes, passphrase: bytes) -> bytes: ... class PBES2(object): @staticmethod def encrypt(data: bytes, passphrase: bytes, protection: str, prot_params: Optional[Dict] = ..., randfunc: Optional[Callable[[int],bytes]] = ...) -> bytes: ... @staticmethod def decrypt(data:bytes, passphrase: bytes) -> bytes: ...
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
PEM.py | File | 6.79 KB | 0644 |
|
PEM.pyi | File | 303 B | 0644 |
|
PKCS8.py | File | 8.86 KB | 0644 |
|
PKCS8.pyi | File | 480 B | 0644 |
|
_PBES.py | File | 15.94 KB | 0644 |
|
_PBES.pyi | File | 489 B | 0644 |
|
__init__.py | File | 1.5 KB | 0644 |
|