blob: 8a777c51f8bd96a18d9e6ed94954d0b01730c33f [file] [log] [blame]
; The test rules below are for test suite TestBasicCommandInsertDelete.
; Signed interests and data packets are signed by default certificate.
; In these test rules, 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"
}
}
}
rule
{
id "Test Rule For Datat"
for data
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"
}
}
}