]> Cypherpunks repositories - keks.git/commitdiff
Use "set" instead of map
authorSergey Matveev <stargrave@stargrave.org>
Wed, 30 Oct 2024 11:32:12 +0000 (14:32 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 30 Oct 2024 11:32:12 +0000 (14:32 +0300)
spec/format/cer-load.cddl
spec/format/signed-data.cddl

index 589cd0a08f1258ca43979a6bdbb943213e37cf7a5414692d6b4b2a720fab41bc..c9281fe3292d01a0992a2f2b71756dc82a130ea03470de833c72dd514c366dca 100644 (file)
@@ -2,10 +2,10 @@ ai = text ; algorithm identifier
 av = {a: ai, v: bytes}
 
 cer-load = {
-    ? ku: {+ ku => nil},
+    ? ku: set,
     pub: [+ {av, id: uuid}],
     sub: {text => text}, ; subject
-    ? crit: {+ crit-text-type => any},
+    ? crit: {+ crit-ext-type => any},
     * text => any
 }
 
index 8797b681ba10dd69e5bc5bfd08252ef22295ad9f3d5c637d23da59d67b1c0e33..f87b3954753cb96f7a3abe8293310aa23ca37dc0531edbc345a8060f33980713 100644 (file)
@@ -2,7 +2,7 @@ ai = text ; algorithm identifier
 av = {a: ai, v: bytes}
 
 signed-data = {
-    ? hash: {+ ai => nil}, ; when using prehashing
+    ? hash: set, ; when using prehashing
     load: {
         t: text,
         ? v: bytes / text / blob / map / list,