From 365aeb9c68fb23e00dfebe4910ecf6611bcbf954 Mon Sep 17 00:00:00 2001 From: Sebastien Awwad Date: Mon, 1 Oct 2018 15:09:37 -0400 Subject: [PATCH] ASN.1: add question about optional field Custom Signed-off-by: Sebastien Awwad --- tuf/encoding/metadata_definitions.asn1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tuf/encoding/metadata_definitions.asn1 b/tuf/encoding/metadata_definitions.asn1 index 79a1d41a..f999b2e4 100644 --- a/tuf/encoding/metadata_definitions.asn1 +++ b/tuf/encoding/metadata_definitions.asn1 @@ -116,6 +116,12 @@ Questions: 'meta'. I've left that name here as well, but it's an awful name.... It should be 'role-infos' or something along those lines. + - The custom target fields are optional, but if the list appears, the length + of that list should be required, ideally (custom needs num-custom). I can + capture these in a single object, + e.g. CustomSection optional: num-custom, customs + It's a little longer and possibly less readable. + */ TUFMetadataDefinitions DEFINITIONS AUTOMATIC TAGS ::= BEGIN