AlkantarClanX12

Your IP : 18.189.186.247


Current Path : /proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/IO/
Upload File :
Current File : //proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/IO/PKCS8.pyi

from typing import Dict, Tuple, Optional, Union, Callable

from Crypto.Util.asn1 import DerObject

def wrap(private_key: bytes,
         key_oid: str,
	 passphrase: Union[bytes, str] = ...,
	 protection: str = ...,
         prot_params: Dict = ...,
	 key_params: Optional[DerObject] = ...,
	 randfunc: Optional[Callable[[int],str]]  = ...) -> bytes: ...


def unwrap(p8_private_key: bytes, passphrase: Optional[Union[bytes, str]] = ...) -> Tuple[str, bytes, Optional[bytes]]: ...