Teng Liang | a0b4937 | 2015-05-15 05:30:27 -0700 | [diff] [blame] | 1 | 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" |
Teng Liang | 52f43c3 | 2015-05-20 17:06:20 -0700 | [diff] [blame] | 41 | name "/home" |
Teng Liang | a0b4937 | 2015-05-15 05:30:27 -0700 | [diff] [blame] | 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 | } |