aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/IO/PKCS8.pyi
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2024-08-23 03:14:03 +0000
committerDeterminant <[email protected]>2024-08-22 20:34:57 -0700
commit8d1c76ec7caf247d5675e14260d20fc508977ffb (patch)
tree8fa7c8ce3b7e3f4ece150a6da5922b5eb2dc7772 /frozen_deps/Cryptodome/IO/PKCS8.pyi
parent258780284151d49cba1d9c0d2ce33f9a19bb058b (diff)
release v0.1.8
Diffstat (limited to 'frozen_deps/Cryptodome/IO/PKCS8.pyi')
-rw-r--r--frozen_deps/Cryptodome/IO/PKCS8.pyi15
1 files changed, 9 insertions, 6 deletions
diff --git a/frozen_deps/Cryptodome/IO/PKCS8.pyi b/frozen_deps/Cryptodome/IO/PKCS8.pyi
index be716af..c8d0c10 100644
--- a/frozen_deps/Cryptodome/IO/PKCS8.pyi
+++ b/frozen_deps/Cryptodome/IO/PKCS8.pyi
@@ -1,14 +1,17 @@
-from typing import Dict, Tuple, Optional, Union, Callable
+from typing import Tuple, Optional, Union, Callable
+from typing_extensions import NotRequired
from Cryptodome.Util.asn1 import DerObject
+from Cryptodome.IO._PBES import ProtParams
+
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: ...
+ passphrase: Union[bytes, str] = ...,
+ protection: str = ...,
+ prot_params: Optional[ProtParams] = ...,
+ 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]]: ...