blob: 08202661575ec662e39bf46ce394d6b29e949461 [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.
rule
{
id "Test Rule For Signed Interest"
for interest
filter
{
type name
name /
relation is-prefix-of
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
name /ndn/test/repo
relation equal
}
}
}
rule
{
id "Test Rule For Data"
for data
filter
{
type name
name /
relation is-prefix-of
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
name /ndn/test/repo
relation equal
}
}
}
trust-anchor
{
type file
file-name "insert-delete-test.cert"
}