-
Notifications
You must be signed in to change notification settings - Fork 4
/
draft-ietf-suit-trust-domains.cddl
63 lines (47 loc) · 1.73 KB
/
draft-ietf-suit-trust-domains.cddl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
$$SUIT_Envelope_Extensions //=
(suit-delegation => bstr .cbor SUIT_Delegation)
$$SUIT_Envelope_Extensions //= (
suit-integrated-dependency-key => bstr .cbor SUIT_Envelope)
SUIT_Delegation = [ + [ + bstr .cbor CWT ] ]
CWT = SUIT_Authentication_Block
$$SUIT_Manifest_Extensions //=
(suit-manifest-component-id => SUIT_Component_Identifier)
$$SUIT_severable-members-extensions //=
(suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence)
$$unseverable-manifest-member-extensions //=
(suit-uninstall => bstr .cbor SUIT_Command_Sequence)
suit-integrated-dependency-key = tstr
$$severable-manifest-members-choice-extensions //= (
suit-dependency-resolution =>
bstr .cbor SUIT_Command_Sequence / SUIT_Digest)
$$SUIT_Common-extensions //= (
suit-dependencies => SUIT_Dependencies
)
SUIT_Dependencies = {
+ uint => SUIT_Dependency_Metadata
}
SUIT_Dependency_Metadata = {
? suit-dependency-prefix => SUIT_Component_Identifier
* $$SUIT_Dependency_Extensions
}
SUIT_Condition // (
suit-condition-dependency-integrity, SUIT_Rep_Policy)
SUIT_Condition //= (
suit-condition-is-dependency, SUIT_Rep_Policy)
SUIT_Directive //= (
suit-directive-process-dependency, SUIT_Rep_Policy)
SUIT_Directive //= (suit-directive-set-parameters,
{+ $$SUIT_Parameters})
SUIT_Directive //= (
suit-directive-unlink, SUIT_Rep_Policy)
suit-manifest-component-id = 5
suit-delegation = 1
suit-dependency-resolution = 15
suit-uninstall = 24
suit-dependencies = 1
suit-dependency-prefix = 1
suit-condition-dependency-integrity = 7
suit-condition-is-dependency = 8
suit-directive-process-dependency = 11
suit-directive-set-parameters = 19
suit-directive-unlink = 33