From ce8b9cf14151dc5110c9111ff85c5114788bfe7d338bfef02f0e64227db2ec0b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 30 Oct 2024 14:32:12 +0300 Subject: [PATCH] Use "set" instead of map --- spec/format/cer-load.cddl | 4 ++-- spec/format/signed-data.cddl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, -- 2.50.0