| ; This test rule is for test suite TestBasicCommandInsertDelete. |
| ; Signed interests are generated by default certificate. |
| ; In this test rule, the type of checker is fixed signer and signer type is file. |
| ; So user who wants to run this test could use security tool to dump the defualt |
| ; certificate into a file named "insert-delete-test.cert" |
| rule |
| { |
| id "Test Rule For Signed Interest" |
| for interest |
| filter |
| { |
| type name |
| name / |
| relation is-prefix-of |
| } |
| checker |
| { |
| type fixed-signer |
| sig-type rsa-sha256 |
| signer |
| { |
| type file |
| file-name "insert-delete-test.cert" |
| } |
| } |
| } |