From: Sergey Matveev Date: Wed, 30 Oct 2024 11:32:12 +0000 (+0300) Subject: Use "set" instead of map X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ce8b9cf14151dc5110c9111ff85c5114788bfe7d338bfef02f0e64227db2ec0b;p=keks.git Use "set" instead of map --- diff --git a/spec/format/cer-load.cddl b/spec/format/cer-load.cddl index 589cd0a..c9281fe 100644 --- a/spec/format/cer-load.cddl +++ b/spec/format/cer-load.cddl @@ -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 } diff --git a/spec/format/signed-data.cddl b/spec/format/signed-data.cddl index 8797b68..f87b395 100644 --- a/spec/format/signed-data.cddl +++ b/spec/format/signed-data.cddl @@ -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,