We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3febe commit dd1577aCopy full SHA for dd1577a
src/cryptojwt/key_jar.py
@@ -5,6 +5,7 @@
5
6
from requests import request
7
8
+from .exception import UnknownKeyType, KeyIOError, UpdateFailed
9
from .jwe.jwe import alg2keytype as jwe_alg2keytype
10
from .jws.utils import alg2keytype as jws_alg2keytype
11
from .key_bundle import KeyBundle
@@ -20,18 +21,6 @@
20
21
logger = logging.getLogger(__name__)
22
23
-class KeyIOError(Exception):
24
- pass
25
-
26
27
-class UnknownKeyType(KeyIOError):
28
29
30
31
-class UpdateFailed(KeyIOError):
32
33
34
35
class KeyJar(object):
36
""" A keyjar contains a number of KeyBundles sorted by owner/issuer """
37
0 commit comments