Yingdi Yu | defb5e4 | 2014-03-31 18:18:09 -0700 | [diff] [blame] | 1 | rule |
| 2 | { |
| 3 | id "NRD Prefix Registration Command Rule" |
| 4 | for interest |
| 5 | filter |
| 6 | { |
| 7 | type name |
| 8 | regex ^<localhost><nrd>[<register><unregister>]<>{3}$ |
| 9 | } |
| 10 | checker |
| 11 | { |
| 12 | type customized |
| 13 | sig-type rsa-sha256 |
| 14 | key-locator |
| 15 | { |
| 16 | type name |
| 17 | regex ^[^<KEY>]*<KEY><>*<ksk-.*><ID-CERT>$ |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | rule |
| 22 | { |
| 23 | id "Testbed Hierarchy Rule" |
| 24 | for data |
| 25 | filter |
| 26 | { |
| 27 | type name |
| 28 | regex ^[^<KEY>]*<KEY><>*<ksk-.*><ID-CERT><>$ |
| 29 | } |
| 30 | checker |
| 31 | { |
| 32 | type hierarchical |
| 33 | sig-type rsa-sha256 |
| 34 | } |
| 35 | } |
| 36 | trust-anchor |
| 37 | { |
| 38 | type file |
| 39 | file-name "trust-anchor.cert" |
| 40 | } |