Shuo Chen | 028dcd3 | 2014-06-21 16:36:44 +0800 | [diff] [blame^] | 1 | ; This test rule is for test suite TestBasicCommandInsertDelete. |
| 2 | ; Signed interests are generated by default certificate. |
| 3 | ; In this test rule, the type of checker is fixed signer and signer type is file. |
| 4 | ; So user who wants to run this test could use security tool to dump the defualt |
| 5 | ; certificate into a file named "insert-delete-test.cert" |
| 6 | rule |
| 7 | { |
| 8 | id "Test Rule For Signed Interest" |
| 9 | for interest |
| 10 | filter |
| 11 | { |
| 12 | type name |
| 13 | name / |
| 14 | relation is-prefix-of |
| 15 | } |
| 16 | checker |
| 17 | { |
| 18 | type fixed-signer |
| 19 | sig-type rsa-sha256 |
| 20 | signer |
| 21 | { |
| 22 | type file |
| 23 | file-name "insert-delete-test.cert" |
| 24 | } |
| 25 | } |
| 26 | } |