blob: f131e97a72f501198c62112268fc38635400997a [file] [log] [blame]
Teng Lianga0b49372015-05-15 05:30:27 -07001 validator
2 {
3 rule
4 {
5 id "Certificate Trust"
6 for "data"
7 filter
8 {
9 type "name"
10 regex "[^<KEY>]+<KEY><>*<ID-CERT>"
11 }
12 checker
13 {
14 type "customized"
15 sig-type "rsa-sha256"
16 key-locator
17 {
18 type "name"
19 name "/home"
20 relation "is-strict-prefix-of"
21 }
22 }
23 }
24 rule
25 {
26 id "All Other Data"
27 for "data"
28 checker
29 {
30 type "hierarchical"
31 sig-type "rsa-sha256"
32 }
33 }
34 rule
35 {
36 id "Command Interests"
37 for "interest"
38 filter
39 {
40 type "name"
41 name "/home/default"
42 relation "is-strict-prefix-of"
43 }
44 checker
45 {
46 type "customized"
47 sig-type "rsa-sha256"
48 key-locator
49 {
50 type "name"
51 name "/home"
52 relation "is-strict-prefix-of"
53 }
54 }
55 }
56 }