aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/IO/PEM.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'frozen_deps/Cryptodome/IO/PEM.pyi')
-rw-r--r--frozen_deps/Cryptodome/IO/PEM.pyi10
1 files changed, 10 insertions, 0 deletions
diff --git a/frozen_deps/Cryptodome/IO/PEM.pyi b/frozen_deps/Cryptodome/IO/PEM.pyi
new file mode 100644
index 0000000..2e324c4
--- /dev/null
+++ b/frozen_deps/Cryptodome/IO/PEM.pyi
@@ -0,0 +1,10 @@
+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]: ...