-
-
Notifications
You must be signed in to change notification settings - Fork 608
Expand file tree
/
Copy path__init__.py
More file actions
32 lines (30 loc) · 820 Bytes
/
__init__.py
File metadata and controls
32 lines (30 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from .compose import Compose
from .signature import BinarySignature, MemorySignature, Signature
from .username import UsernameToken
try:
from .crypto import (
CryptoBinaryMemorySignature,
CryptoBinarySignature,
CryptoMemorySignature,
CryptoSignature,
PKCS12Signature,
)
except ImportError:
# cryptography not installed — pure-python signing unavailable
CryptoBinaryMemorySignature = None
CryptoBinarySignature = None
CryptoMemorySignature = None
CryptoSignature = None
PKCS12Signature = None
__all__ = [
"Compose",
"BinarySignature",
"MemorySignature",
"Signature",
"UsernameToken",
"CryptoBinaryMemorySignature",
"CryptoBinarySignature",
"CryptoMemorySignature",
"CryptoSignature",
"PKCS12Signature",
]