blob: e5a44f8f0e49f26d0f2eadcfdebb646d6c262177 [file] [log] [blame]
Shuo Chen028dcd32014-06-21 16:36:44 +08001; 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"
6rule
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}