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 272bdef commit f75b608Copy full SHA for f75b608
3 files changed
cwt/__init__.py
@@ -17,6 +17,7 @@
17
COSEHeaders,
18
COSEKeyOps,
19
COSEKeyParams,
20
+ COSEKeyTypes,
21
COSETypes,
22
CWTClaims,
23
)
@@ -47,6 +48,7 @@
47
48
"COSEHeaders",
49
"COSEKeyOps",
50
"COSEKeyParams",
51
+ "COSEKeyTypes",
52
"COSETypes",
53
"COSEKey",
54
"COSEMessage",
cwt/enums.py
@@ -34,6 +34,15 @@ class COSEHeaders(enum.IntEnum):
34
CUPH_OWNER_PUB_KEY = 257
35
36
37
+class COSEKeyTypes(enum.IntEnum):
38
+ OKP = 1
39
+ EC2 = 2
40
+ RSA = 3
41
+ ASYMMETRIC = 4
42
+ # HSS_LMS = 5
43
+ # WALNUT_DSA = 6
44
+
45
46
class COSEKeyParams(enum.IntEnum):
KTY = 1
KID = 2
0 commit comments