Direktori : /proc/self/root/opt/imh-python/lib/python3.9/site-packages/Cryptodome/IO/ |
Current File : //proc/self/root/opt/imh-python/lib/python3.9/site-packages/Cryptodome/IO/PKCS8.pyi |
from typing import Dict, Tuple, Optional, Union, Callable from Cryptodome.Util.asn1 import DerObject def wrap(private_key: bytes, key_oid: str, passphrase: Union[bytes, str] = ..., protection: str = ..., prot_params: Dict = ..., key_params: DerObject = ..., randfunc: Optional[Callable[[int],str]] = ...) -> bytes: ... def unwrap(p8_private_key: bytes, passphrase: Optional[Union[bytes, str]] = ...) -> Tuple[str, bytes, Optional[bytes]]: ...