massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / cryptography / hazmat / primitives / serialization.pyi
1 from typing import Any\r
2 from enum import Enum\r
3 \r
4 def load_pem_private_key(data, password, backend): ...\r
5 def load_pem_public_key(data, backend): ...\r
6 def load_der_private_key(data, password, backend): ...\r
7 def load_der_public_key(data, backend): ...\r
8 def load_ssh_public_key(data, backend): ...\r
9 \r
10 class Encoding(Enum):\r
11     PEM = ...  # type: str\r
12     DER = ...  # type: str\r
13 \r
14 class PrivateFormat(Enum):\r
15     PKCS8 = ...  # type: str\r
16     TraditionalOpenSSL = ...  # type: str\r
17 \r
18 class PublicFormat(Enum):\r
19     SubjectPublicKeyInfo = ...  # type: str\r
20     PKCS1 = ...  # type: str\r
21 \r
22 class KeySerializationEncryption: ...\r
23 \r
24 class BestAvailableEncryption:\r
25     password = ...  # type: Any\r
26     def __init__(self, password) -> None: ...\r
27 \r
28 class NoEncryption: ...\r